JetBrains dotTrace, is it possible to profile source code line by line? else I need another tool

Posted by m3ntat on Stack Overflow See other posts from Stack Overflow or by m3ntat
Published on 2009-07-13T17:02:07Z Indexed on 2010/05/11 2:14 UTC
Read the original article Hit count: 383

I am using JetBrains dotTrace, I've profiled my app which is entirely CPU bound. But the results as you walk down the tree don't sum to the level above in the tree, I only see method calls not the body lines of the node in questions method.

Is it possible to profile the source code line by line.

i.e for one node:

  • SimulatePair() 99.04%
    --nextUniform() 30.12%
    --IDCF() 24.08%

So the method calls nextUniform + IDCF use 54% of the time in SimulatePair (or 54% total execution time I'm not sure how to read this) regardless what is happening the other 46% of SimulatePair I need some detail on a line by line basis.

Any help or alternative tools is much appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about dottrace