Did you know… you can copy the exception details with one click from the exception assistant? – #276

Under the View Details is a link to copy the detail directly to the clipboard, as shown below:

exception assistant - copy exception detail to the clipboard

For this particular example, i get the following details copied to the clipboard:

System.DivideByZeroException was unhandled
  Message="Attempted to divide by zero."
  Source="ConsoleApplication23"
  StackTrace:
       at ConsoleApplication23.Program.Main(String[] args) in C:\Users\saraf\Documents\Visual Studio 2008\Projects\ConsoleApplication23\ConsoleApplication23\Program.cs:line 14
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

 

Technorati Tags: VS2005Tip,VS2008Tip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>