VS 2008 Profiler - Caller/Callee view showing bottom of stack

Posted by Ncc on Stack Overflow See other posts from Stack Overflow or by Ncc
Published on 2010-01-13T16:33:04Z Indexed on 2010/06/12 22:02 UTC
Read the original article Hit count: 247

Hello,

I am currently trying to profile a class contained in a different assembly. To do this I created a small console application which calls into the public entry point of the class I want to profile. This enrty point is called Run().

This is working fine when I run my Console application in Debug mode and I can step into the Run() method. The Run() method calls a variety of other methods in its own assembly and other assemblies. However, when I create a new profiler of type "Instrumentation" in VS 2008, and run the profiler, the report shows my Main() function calling Run(), but in turn, when viewing the Caller/Callee report for my Run() method the report shows that the Run() method is the bottom of the stack.

This is clearly not the case - could anyone please suggest why this is happening?

Thanks.

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about visual-studio-2008