Solved

Debugger use in Visual Studio 2008

Posted on 2012-03-30
1
236 Views
Last Modified: 2012-06-27
Maybe this is a stupid question.  But I have to ask it.

When I step thru the code in the debugger, I am used to seeing the 'local' variables in the class / function / procedure that is currently being executed.

Is there any way to see if an object that was created by an earlier method is still existing or has been released. Obviously it is not local to the procedure being executed so it does not pop up in my local window.
0
Comment
Question by:shahjagat
1 Comment
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 150 total points
ID: 37789287
I might not be fully grasping the question, but you can view calls which are currently higher up in the stack. If you display the "Call Stack" window (Debug->Windows->Call Stack), you can see the series of function calls which have been called (and which are still in [some kind of] scope) since the program started. You can double-click on any line which is not greyed out and see the state of the various variables as they existed when that function was in current scope (ref variables may show differently if a lower caller has modified the values).
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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