[wingide-users] Keeping debugger out of "other" files
tms at stambaugh-inc.com
Mon Aug 15 10:07:26 EDT 2005
Perhaps you can put your code in a try block and catch everything that
happens within it. Then, reraise your own exception along with a reference
to the original. I'm naive about python, but this is a fairly common idiom
in Java. Look at unittest.py -- specifically unittest.TestCase.run() -- for
----- Original Message -----
From: "Michael Hipp" <Michael at Hipp.com>
To: <wingide-users at wingware.com>
Sent: Friday, August 12, 2005 7:27 PM
Subject: [wingide-users] Keeping debugger out of "other" files
> Is there any way to tell the debugger to never go outside my project files
> display the location of an unhanded exception.
> Frequently it will dive deep into some of the core packages for wxPython
> report a bug that is actually in my own code. It would be safer and more
> useful to stick to the files in the project. If you're not paying
> you can mistakenly be editing some far flung file outside the project.
> it has now taken me to a place where the actual error probably is not and
> have to make my way back.
> Wing IDE users list
More information about the wingide-users