I have the following code:
namespace { void Foo() { } } namespace Bar { void Foo() { } } int main() { Foo(); Bar::Foo(); return 0; }
I want to set a breakpoint on Foo() inside an anonymous namespace by name (Ctrl + B key binding). I can do this for a function inside the Bar namespace without a problem named Bar::Foo . I tried anonymous namespace::Foo for an anonymous namespace, but VS was unable to parse that name, I think because of the space character in the name. I also tried putting different quotes, but no luck. Is it even possible to set this breakpoint?
source share