Solved

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

Posted on 2011-09-30
3
274 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now