且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Visual Studio中的匿名名称空间中通过函数名称设置断点?

更新时间:2022-12-31 10:28:24

很久以前,我遇到了类似的问题().我想查看未命名名称空间中数据成员的值,但无法完成此操作.

I encountered a similar problem a long time ago (Debugging data in 'anynomous namespaces' (C++)). I wanted to look at the value of a data member in an unnamed namespace, but I couldn't get this done.

最后,有人指出我指向 http://msdn.microsoft.com/en-us/library/0888kc6a%28VS.80%29.aspx .也许您可以获取修饰后的函数名称并在其上放置一个断点.

Finally, somebody pointed me to http://msdn.microsoft.com/en-us/library/0888kc6a%28VS.80%29.aspx. Maybe you can get the decorated function name and put a breakpoint on that.