Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Debugger use in Visual Studio 2008

Posted on 2012-03-30
1
Medium Priority
?
262 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 450 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

782 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