0

I am using Visual Studio 2013 Ultimate. When I debug my program I want to see a list of the variables I am using and their value.

The Debugger Variable Windows named Autos, Locals or Watch show nothing.

enter image description here

Do you have an idea why?

Axalo
  • 2,953
  • 4
  • 25
  • 39
flienky
  • 23
  • 1
  • 6
  • 1
    Have you built the program with debug symbols? – rrirower Apr 30 '15 at 12:19
  • @rrirower No i have not. – flienky Apr 30 '15 at 12:24
  • 1
    You're going to need to rebuild your program (for DEBUG) with symbols turned on. – rrirower Apr 30 '15 at 12:25
  • @rrirower Thanks a lot for your answer. The settings as i have them now : http://s21.postimg.org/hw0c7rvtz/options.png . So can you guide me on how to turn the symbols on? Thank you. – flienky Apr 30 '15 at 12:30
  • You haven't indicated what language you're using. But, for C++, the symbols are set by selecting the "C++" item in the properties. Then, selecting the "General" option reveals the ability to change the "Debug Information Format". – rrirower Apr 30 '15 at 12:34
  • @rrirower Thank you for your answer. I am sorry that i did not indicate the language i am using. The language is C++. I found the path, however what option should i choose ? http://s11.postimg.org/u8v4amxwz/propetries.png – flienky Apr 30 '15 at 12:40
  • Typically, "Zi". But, you should read up on what each option does. – rrirower Apr 30 '15 at 12:41
  • @rrirower None of the options worked. Any idea? – flienky Apr 30 '15 at 12:44
  • [How to: Build an MFC Application with Debug Information](https://msdn.microsoft.com/en-us/library/1fz6d4w2(v=vs.90).aspx) – rrirower Apr 30 '15 at 12:47
  • Where am i supposed to type "NAFXCWD.LIB" and "LIBCMT."? If i type both of them when i debug it says " error LNK1181: cannot open input file 'NAFXCWD.LIBLIBCMT.' " Any idea? – flienky Apr 30 '15 at 12:59
  • I can not even debug now .. – flienky Apr 30 '15 at 17:03
  • Fixed, i just did not add breakpoints – flienky Apr 03 '16 at 07:52

0 Answers0