c++ - Can't add watches to variables declared inside namespaces. VS2013 -


I am currently unable to view declared variables on namespaces while debugging on Visual Studio 2013.

If I want to click on the right variable, the clock windows say that namespace is not declared.

Debugging the following program and Dave or Lara causes the function () to fail.

  #include & lt; Stdio.h & gt; Nameshot Age {Nameshot Daughter} {int lara = 1; } Named place son {int dev = 3; } Int function () {int age_sum = Daughter :: Lara; Age_sum + = Son :: Dave; Return age_sum; }} Int main () {printf ("sum:% d \ r \ n", age :: work ()); }  

Here is a picture of Debugger, note that the result is correct but I add a clock.

MSVC window


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -