Equivalent <CTRL> + <BREAK> in C#

  • Thread starter Thread starter sweetpotatop
  • Start date Start date
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.
 
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.
 
Back
Top