jump into code when exception occur during debug (in Try..)?

  • Thread starter Thread starter mtczx232
  • Start date Start date
M

mtczx232

VS2005 - VB

when we have code in try block, when exception occur during debug. the
debuger not jump into the code, before run the catch block. this
behavior make debugging difficult.

I not sure, but i remember another experience (maybe with VS2003) that
first jump into the code and if i decide to continue it go to catch
block!?

Have a way change this behavior.
 
If the exception has already been raised, then it would jump to the catch
block. Have you tried putting a breakpoint at the code in the start of the
try block and step through the code?
 
when we have code in try block, when exception occur during debug. the
debuger not jump into the code, before run the catch block. this
behavior make debugging difficult.

I not sure, but i remember another experience (maybe with VS2003) that
first jump into the code and if i decide to continue it go to catch
block!?

Have a way change this behavior.

Use the Exceptions item on the debugger's Debug menu to enable or disable
handling of First Chance Exceptions. This controls whether you break into
the debugger or just execute your catch block code when a specific
exception occurs.

Mike
 
Back
Top