In Visual Web Developer Express, how do I turn on Break on All Exceptions? I'm looking for the Debug > Exceptions menu item but not finding it, not even if I try to customize the menu.
This page on MSDN suggests that it ought to be possible.
In Visual Web Developer Express, how do I turn on Break on All Exceptions? I'm looking for the Debug > Exceptions menu item but not finding it, not even if I try to customize the menu.
This page on MSDN suggests that it ought to be possible.
The exceptions menu isn't shown in Visual Web Developer Express - it's only shown in Visual C# Express (and I assume Visual Basic Express).
However, all hope isn't lost - the default behavior in VWD Express is to break on all exceptions. If you feel like you're missing an exception, you can try to turn off "Just My Code" debugging, which will catch exceptions thrown in CLR code and linked libraries.
To do this, open up Tools -> Options -> Debugging -> General, and uncheck "Just My Code". If you want to step through CLR code, you can also enable that feature on the same screen.
In the MSDN page you quote in your question, did you see the part that says ...
Note
To enable the Exceptions menu in Express versions, on the Tools menu, click Settings, and then select Expert Settings.
Customize...
doesn't work either - the menu item just isn't there. –
Foreandaft You could fudge it by breaking on std::exception::exception()
, although this is C++ only and it's possible (although inadvisable) that something throws an exception which does not derive from std::exception
© 2022 - 2024 — McMap. All rights reserved.