Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view exception details in Visual Studio Express?

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. Screenshot of the problem

like image 654
msbg Avatar asked Jan 26 '13 23:01

msbg


People also ask

How can I see inner exception for details?

When you're debugging and you get an exception, always, always, always click on the View Details link to open the View Details dialog. If the message in the dialog isn't expanded, expand it, then scan down to the Inner Exception entry.

How do I view stack trace in Visual Studio?

To open the Call Stack window in Visual Studio, from the Debug menu, choose Windows>Call Stack. To set the local context to a particular row in the stack trace display, select and hold (or double click) the first column of the row.

How do I reset Visual Studio exceptions?

To set Visual Studio debugger options, select Tools > Options, and under Debugging select or deselect the boxes next to the General options. You can restore all default settings with Tools > Import and Export Settings > Reset all settings.


2 Answers

The Exception Assistant has been removed from the Express versions of Visual Studio 2012. From here:

You are correct that we intentionally removed the exception assistant from the WDX sku for VS 2012. In 2012, pro and above are required for this functionality. You should be able to view the exception information in the watch window including the inner exception.

We'll take your feedback and look into possibly adding this dialog back into the express skus in a future release but we have no plans of changing this for 2012 at this time.

Marc Paine

Visual Studio Debugger QA Lead

Unless there's an update one day to add it back, you'd have to buy a full version of VS 2012.

like image 95
Alyce Avatar answered Oct 23 '22 03:10

Alyce


You can press Break button and then look into exception details under Locals. Look for $exception there.

like image 24
user1004959 Avatar answered Oct 23 '22 02:10

user1004959