Equivalent <CTRL> + <BREAK> in C#

S

sweetpotatop

Hi,

I got an pop-up error when I tried to run my window application.
However, I have no idea which line of code is causing the problem. Is
there a way to figurate that out? In VB, when I do <CTRL> + <BREAK> ,
it will jump to the line where the error occurs, is there a similar
feature in C#?

Please help. Your suggestion would be greatly appreciated.
 
D

DomG

Hi,

I got an pop-up error when I tried to run my window application.
However, I have no idea which line of code is causing the problem. Is
there a way to figurate that out? In VB, when I do <CTRL> + <BREAK> ,
it will jump to the line where the error occurs, is there a similar
feature in C#?

Please help. Your suggestion would be greatly appreciated.

Ummm... <Ctrl><Break> stopped the code wherever it was running and does
in C# too however you will probably find this menu option more helpful:
Debug | Exceptions check the Thrown box on Common Language Runtime
Exceptions and the code will stop when it errors.
 

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