views:

132

answers:

1

Hi,

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.

Thanks, Robert

+1  A: 

Never mind, I figured it out thanks to this wonderful blog post:

http://www.aaronlerch.com/blog/2007/08/31/tip-set-breakpoints-without-source-code-in-visual-studio-2005/

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).

Robert Fraser