Open GoogleCodeExporter opened 9 years ago
I've done some more testing and started looking outside of Editra.
I run the Windows Classic theme in Windows 7.
I switched the theme to Windows 7 Basic and launched Editra and opened a python
file with the PyDebug Tab enabled and it worked this time with no crash.
I then switched the them back to Windows Classic and launched Editra and opened
a python file with the PyDebug Tab enabled and it crashed again.
This may be an issue higher up the software stack in the Editra dependencies
such as wxwidgets?
Original comment by peterdil...@gmail.com
on 4 Dec 2013 at 4:03
Possibly I do seem to remember some similar sounding issues reported to
wxwidgets before for other things.
So just to be clear, the crash only happens when the Debug Window is open?
And saving a file can trigger the crash?
Original comment by CodyPrec...@gmail.com
on 4 Dec 2013 at 4:43
[deleted comment]
Yes. It you type some code into the editor window and then save it triggers a
crash. Also triggers if you load a file into the editor.
Yes. Having the Debug tab open is required for triggering the crash.
And at least on my system, having the windows desktop theme set to Windows
Classic is required to trigger the crash.
Original comment by peterdil...@gmail.com
on 4 Dec 2013 at 7:03
Looking over the code and nothing is really jumping out. If you want to debug
further you can try running a local copy of Editra with a 'develop' mode
version of the PyStudio plugin setup in it and try to add some print statements
or something to narrow it down further.
When a file is saved the only thing that appears to get invoked after a short
delay is the UpdateForEditorMethod in the MessageHandler class that is found in
PyStudios Debugger subsystem.
If this is a hard crash that your getting it would seem that it may possibly be
related to some sort of thread safety issue but as far as I can tell all of
this code on this path gets executed the main thread so it may be something in
how Windows behaves differently between what theme is enabled.
Original comment by CodyPrec...@gmail.com
on 4 Dec 2013 at 7:46
Original issue reported on code.google.com by
peterdil...@gmail.com
on 4 Dec 2013 at 2:31