Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Debugger use in Visual Studio 2008

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

688 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