How do you view exception details such as messages and stack traces in VS Express 2012? I am using Visual Studio Express 2012 for Windows Phone, and whenever an exception is thrown while debugging, all Visual Studio does is highlight the line of code at which the exception occurred.
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- how to call a C++ dll from C# windows application
相关文章
- How to show location of errors, references to memb
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- How do I get to see DbgPrint output from my kernel
- Copy different file to output directory for releas
- Edit & Continue doesn't work
- JUnit continue to assert things after expected exc
The Exception Assistant has been removed from the Express versions of Visual Studio 2012. From here:
Unless there's an update one day to add it back, you'd have to buy a full version of VS 2012.
You can press
Break
button and then look into exception details underLocals
. Look for$exception
there.Yes, what a bother! But luckily, unless the exception is thrown in external code, you can defuse the situation by temporarily enveloping the offending code line in a try catch block, then setting a break point inside catch: