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.
Comments
Post a Comment