Visual Studio调试器:打破进入一个外部函数? [英] Visual Studio debugger: Break on entering an external function?
问题描述
使用只是我的code 关闭,源位置/服务器,很容易步入的功能是不是在你的code。有没有一种方法来设置一个断点其中之一,虽然?
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.
推荐答案
我理解了它的感谢精彩的博客文章的 <一个href="http://www.aaronlerch.com/blog/2007/08/31/tip-set-breakpoints-without-source-$c$c-in-visual-studio-2005/"相对=nofollow>提示:没有源$ C $ C在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屋!