Is there any way to break on the next line of code executed in Visual Studio?

前端 未结 5 1224
不思量自难忘°
不思量自难忘° 2021-01-07 16:34

I\'m trying to track down a bug that occurs when I click a particular element on an aspx page...

In the past I\'ve had to track down the class that handles that part

5条回答
  •  再見小時候
    2021-01-07 16:53

    Debug -> Exceptions

    Check thrown for the CLR Exceptions.

    EDIT

    The odds are you are having a CLR exception. Using this method the debugger will always break when an exception occurs. This is very convenient compared to reading the stack trace.

提交回复
热议问题