I have the following code:
namespace
{
void Foo()
{
}
}
namespace Bar
{
void Foo()
{
}
}
int main()
{
Foo();
Bar::Foo();
return 0;
}
I want to put breakpoint on Foo()
inside anonymous namespace by name (Ctrl+B key binding). I can do it for function inside named namespace Bar
with no problem by name Bar::Foo
. I tried anonymous namespace::Foo
for anonymous namespace but VS fails to parse this name, i guess because of whitespace character in name. Also I tried to put different quotation marks but with no luck. Is it possible at all to put this breakpoint?