Solved

How to save Visual Studio debug session after bomb for later analysis?

Posted on 2011-09-30
3
282 Views
Last Modified: 2013-12-16
I'm test running a program in Visual Studio. I came across an unusual fatal exception. I would like to save everything so I can come back Monday and look at it.

Is there a way to save everything, the current state, all the threads, etc. so I can analyze it later?

Because I'm about to leave for the weekend.
0
Comment
Question by:deleyd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 333 total points
ID: 36895310
Put the computer in Sleep mode. You have that on the Logoff menu. It turns down everything, but leaves just enough current flowing to keep the microprocessor and memory alive. Moving the mouse or hitting the space bar a few times on Monday whould reawake the computer to the state it was on when you left it. I almost never ShutDown my computer, it always goes to sleep, and very rarely will it not awake in the state it was in.
0
 
LVL 5

Accepted Solution

by:
MikkelAStrojek earned 167 total points
ID: 36896170
Actually intellitrace available in vs2010 should be able to do just that, havn't tried it though
0
 
LVL 40

Assisted Solution

by:Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger) earned 333 total points
ID: 36896904
IntelliTrace is a good tool, but you need the costly Ultimate edition to have it.

And I am not sure that it would answer the need. I think that he wanted to save the application in the state it was, in debugging mode. IntelliTrace just record what happens in a file. It is superb to review what happened before the application crashed, but does not give you the same tools as the debugger. For instance, to prevent it from gobbling up too much processor time or give you too much information, you must filter the type of information you want it to grab. Sometimes, you filter the reason for the problem. In the debugger, you have access to everything but the history.

In my opinion, these are 2 complementary tools.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question