Post thumbnail of How to debug wxPython errors when your applications crash
20 October 2009
Continue reading How to debug wxPython errors when your applications crash

How to debug wxPython errors when your applications crash

After your done building your wx objects and you’re ready to show it and call MainLoop(), wrap your main loop where you actually instantiate your gui objects in try/accept statements so that you can really catch any errors by calling the “show_errors()” function to launch a new message window where the errors will get displayed. This lets you catch errors before your whole program dies (causing errors to get lost).

Powered by Wordpress   |   Lunated designed by ZenVerse