Solved

Debugger use in Visual Studio 2008

Posted on 2012-03-30
1
233 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

864 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

23 Experts available now in Live!

Get 1:1 Help Now