View Single Post
  #2 (permalink)  
Old December 16th, 2003, 10:31 PM
7stud 7stud is offline
Authorized User
 
Join Date: Jul 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you talking about a variable named HANDLE? In the debugger, on the left pane on the bottom, there is an auto tab and a locals tab. If you step through your program, as those variables come into scope they should be listed along with their values.

When the pointer indicating what line the debugger is on is pointing at the line that initializes a variable, for instance something like this:

-> int Handle = 10;

the value shown for Handle will be a junk value because the debugger hasn't executed that line yet. If you take one more step through your program, then Handle should show the value 10.

You can also set up a watch window to constantly watch a certain variable. On the right pane on the bottom, click on one of the "Watch" tabs and type in the variable name, and the value should be displayed.
Reply With Quote