Transition To Managed Code

Code profiling for .NET Developers

Moderators: StephenC, Alex.Davies, AndrewH

Transition To Managed Code

Postby mshahrouri » Sun Feb 21, 2010 2:05 pm

Dears,

I use ANTS Performance Profiler to profile an ASP.Net application hosted on iis.

when I select a region to track the methods I get "transition to managed code..." block without the expand button so I can't see the methods.

P.S. : the source code for the application and the referenced assemblies exists.

Please help.

Thanks,
Mohammad Shahrouri
mshahrouri
 
Posts: 3
Joined: Sun Feb 21, 2010 1:56 pm

Postby StephenC » Sun Feb 21, 2010 4:39 pm

As far as I'm aware the only message that involves transition in the tree node is in relation to the "transition to unmanaged code".

You will get a "collapsed methods without source" message if there are .NET methods for which no pdb files exist. Is this the message you mean or is it the above message?

If the unmanaged message is what you are referring to then you cannot view these methods because they are not .NET methods and the profiler only profiles managed code.

Stephen
StephenC
 
Posts: 306
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Postby mshahrouri » Sun Feb 21, 2010 5:44 pm

I'm not referring to unmanaged code, it is managed code and the pdb files exists.

my problem is that sometimes I can view the called methods and its source code and sometimes I can't.

these methods exists in the same assembly.
mshahrouri
 
Posts: 3
Joined: Sun Feb 21, 2010 1:56 pm

Postby StephenC » Sun Feb 21, 2010 6:14 pm

Quick question -

does the same issue appear no matter which timing mode you have selected? (i.e. Wall Clock time versus CPU time)

Thanks,

Stephen
StephenC
 
Posts: 306
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Postby mshahrouri » Mon Feb 22, 2010 9:04 am

Hi

If I use the CPU time the problem disappears.

Thanks,
Mohammad
mshahrouri
 
Posts: 3
Joined: Sun Feb 21, 2010 1:56 pm


Return to ANTS Performance Profiler 5

Who is online

Users browsing this forum: No registered users and 0 guests