no local variables displayed

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
joelyboy94
Posts: 67
Joined: October 11th, 2012, 7:34 pm

no local variables displayed

Post by joelyboy94 » October 11th, 2012, 7:47 pm

Hi everyone :)

I've started programming with visual C++ 2012, however recently my debugger stopped showing local variables. I can see the call stack when it stops at a breakpoint, but no locals variables are displayed in watch 1 where they should be.

Apologies if I've done something incredibly stupid :oops:

All help is appreciated, thank you!

(I've posted a link to the print screen below)

Image

User avatar
npissoawsome
Posts: 114
Joined: June 8th, 2012, 3:01 pm

Re: no local variables displayed

Post by npissoawsome » October 11th, 2012, 11:32 pm

VS2012 is amazing... But I have no idea what's going wrong, maybe restore default settings?

User avatar
joelyboy94
Posts: 67
Joined: October 11th, 2012, 7:34 pm

Re: no local variables displayed

Post by joelyboy94 » October 12th, 2012, 10:39 am

I've tried using the installer to repair it, but that had no effect.

For future ref for anyone else,

I went on tools => import and export settings and reset to factory and that worked

thank you very much

:D

User avatar
LuX
Posts: 1492
Joined: April 22nd, 2012, 12:33 pm
Location: Finland

Re: no local variables displayed

Post by LuX » October 12th, 2012, 10:41 am

Notice you had "Watch 1" selected when you should have had the local variables tab open. Just in case this happens again.
ʕ •ᴥ•ʔ

User avatar
joelyboy94
Posts: 67
Joined: October 11th, 2012, 7:34 pm

Re: no local variables displayed

Post by joelyboy94 » October 12th, 2012, 5:07 pm

yes, I tried to get the "locals" tab back but it just stopped appearing next to watch 1 like it usually did. Not really sure what went wrong

Post Reply