Green Exceptions?

后端 未结 2 1502
终归单人心
终归单人心 2020-12-09 16:12

When unhandled exceptions are encountered in VStudio usually the debugger highlights the line YELLOW as the line that threw the exception.

However sometimes

2条回答
  •  情深已故
    2020-12-09 16:43

    The line is highlighted yellow if that is the line that directly threw the exception (typically a throw statement).
    It's green if the line is a call to a different function that threw the exception (typically a call to a .Net function that threw an exception).

提交回复
热议问题