staic variables and debugging

Started by
0 comments, last by 2DamnFunky 21 years, 1 month ago
sorry i should post this in the general forum but i got one response on that board which puzzled me and i did not get a further reply. Anyway how do i check the values of static variables while using the visual c debugger? It keeps saying not found next to the variable in question. Someone replied to this on the other board saying make sure your set to debug..how do i do this? Thanks
Advertisement
Thought the static variable is always "defined", you should only be able to see it in its scope. If you''ve declared it in a function, you will only see it when you''re in this function. If you''ve declared as a global static variable, when you''re in its module.

To use the debug mode, go to Build -> Set Active Configuration in the menu.

This topic is closed to new replies.

Advertisement