Debugging with Break option in windows forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to break into the VS debugger on unhandled exceptions in a form. I have tried setting and removing the jit settings in the application config file and in the options dialog. All I get on unhandled errors is the dialog with continue and quit - not with break. Isn't there a way to move from an application with debug build run from within VS to the line raising the exception?

I am getting the stack trace info in the dialog which does not help with the condition that I am attempting to debug.


Ken
 
Set the Debug->Exceptions->Common Language Runtime Exceptions->Break into
the debugger

kenH said:
I am trying to break into the VS debugger on unhandled exceptions in a
form. I have tried setting and removing the jit settings in the application
config file and in the options dialog. All I get on unhandled errors is the
dialog with continue and quit - not with break. Isn't there a way to move
from an application with debug build run from within VS to the line raising
the exception?
I am getting the stack trace info in the dialog which does not help with
the condition that I am attempting to debug.
 
Back
Top