Viewing namespaced global variables in Visual Studio debugger?
- by Chris
When debugging a non-managed C++ project in Visual Studio 2008, I occasionally want to see the value of a global variable. We don't have a lot of these but those that are there all declared within a namespace called 'global'. e.g.
namespace global
{
int foo;
bool bar;
...
}
The problem is that when the code is stopped at a breakpoint, the…