Archived

This topic is now archived and is closed to further replies.

2DamnFunky

staic variables and debugging

Recommended Posts

2DamnFunky    122
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

Share this post


Link to post
Share on other sites
Prosper/LOADED    100
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.

Share this post


Link to post
Share on other sites