- Set breakpoint in a place where you create this object
- Right mouse button and "Add Watch"
- In Watch window, right mouse button on your object and select "Make Object ID"
- You will see something like {1#}. 1# is your object ID
- Now, wherever you break your code you can add in watch window 1# and you will see your object
Thursday, October 23, 2008
Accessing object anywhere in code
If you want to see some object wherever in code (in watch window) do the following:
Labels:
Debugging,
Visual Studio
Subscribe to:
Post Comments (Atom)
1 comments:
Your blog is very nice...
visit my blog asp.net example
Post a Comment