Partager via


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

Comments

  • Anonymous
    August 07, 2008
    My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Whole Tomato Software and Fog Creek have teamed up on Source Links . Source links is a free Visual Studio extension that turns file