Debugging with Break option in windows forms

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
 
A

Andrew S \(Infragistics\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top