|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
jump into code when exception occur during debug (in Try..)?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? Show quote "mtczx***@yahoo.com" wrote: > 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. > > In article <1150975337.593971.37***@b68g2000cwa.googlegroups.com>,
wrote: > when we have code in try block, when exception occur during debug. the Use the Exceptions item on the debugger's Debug menu to enable or disable > 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. 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 |
|||||||||||||||||||||||