Debugging an unhandled exception?

Rene Pijlman reageer.in at de.nieuwsgroep
Mon Feb 17 20:48:25 EST 2003


Paul Rubin <http://phr.cx@NOSPAM.invalid>:
>Is there any way to launch the debugger on raising an unhandled
>exception?

It depends on what you mean with "the". This is from the WingIDE
manual:

"During debug program execution, the debugger can be asked to
stop on exceptions in the same way it would stop at breakpoints
or in response to a Pause command.

A number of options for controlling when the debugger will stop
on an exception are available from the Run menu's Exception Mode
item: 
[...]
 Stop on Unhandled - This is the default. The debugger will only
stop on exceptions for which no exception catching block is
found."

-- 
René Pijlman

Wat wil jij leren?  http://www.leren.nl




More information about the Python-list mailing list