Visual Studio调试器:打破输入外部函数? [英] Visual Studio debugger: Break on entering an external function?
问题描述
使用仅我的代码关断和一个源位置/服务器,很容易进入不在代码中的功能。有没有办法在其中一个设置断点?
With "Just My Code" turned off and a source location/server, it's easy to step into functions that are not in your code. Is there a way to set a breakpoint on one of these, though?
基本上,我想说当这个函数从任何地方调用时,打破并显示我资源。我尝试了设置功能断点并输入功能的完全限定名称,但是它表示找不到该功能。
Basically, I want to say "when this function is called from anywhere, break and show me the source". I tried the "set function breakpoint" and entering the fully-qualified name of the function, however it said it couldn't find the function.
推荐答案
由于精彩的博客文章,我想出了这个结果 提示:在Visual Studio 2005中设置没有源代码的断点 。
I figured it out thanks to the wonderful blog post TIP: Set breakpoints without source code in Visual Studio 2005.
即使它报告没有找到该方法,一旦加载程序集(假定您拼写方法正确; -P),它仍然会在那里崩溃。
Even though it reports that the method wasn't found, it will still break there once the assembly is loaded (assuming you spelled the method right ;-P).
这篇关于Visual Studio调试器:打破输入外部函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!