1

How can the errors in Visual Studio be displayed as in this image:

enter image description here

instead of using the Error List?

The exceptions I get are displayed like this:

enter image description here

(The images are from: How to tell the debugger to ignore breaking on thrown exceptions?, Where did my Visual Studio exception assistant go?)

Community
  • 1
  • 1
Jerry
  • 4,258
  • 3
  • 31
  • 58

2 Answers2

1

If you look under Tools | Options in the Debugging | General node, be sure your "Enable the Exception Assistant" is checked.

DeborahK
  • 57,520
  • 12
  • 104
  • 129
0

The error message that is displayed in the first picture is a message displayed for .Net exceptions. (Anything that inherits from System.Exception)

The .Net exception class has members that include data and stack trace that can be displayed nicely and the Visual Studio IDE displayes it for you.

Native errors (from native code or windows code, anything not .Net) is displayed with the second window.

Native exceptions to contain a minimal what() string. Sometimes. But any other class type can be thrown too, so there's not always that much information.

Yochai Timmer
  • 48,127
  • 24
  • 147
  • 185