thread blocked

Code profiling for .NET Developers

Moderators: StephenC, Alex.Davies, AndrewH

thread blocked

Postby zaggana » Wed Nov 04, 2009 3:04 pm

Hi,

I have downloaded the trial for the ants performance profiler.

I tried it on my application and i am getting a huge delay and the result is thread blocked.

The code i have written doesn't show any delay.

What am i suppose to understand by that?

Also in some cases i get the error that assembly Ajacontroltoolkit.resources cannot be loaded.



Regards,
Eleni

Image[/img]
zaggana
 
Posts: 1
Joined: Wed Nov 04, 2009 2:20 pm

Postby Brian Donahue » Thu Nov 05, 2009 5:12 pm

Hi,

I'd appreciate it if you coulds have a look at a knowledge base article that I wrote that explains "thread blocked". In most cases, you don't have a lot of control over this unless you decide to use AsyncWaitHandle (not sure about that one).

http://www.red-gate.com/supportcenter/C ... 000357.htm


We also know that AjaxControlToolkit causes crashes and other problems in Performance profiler's line-level timing mode, so you could go to method-level only or delete the AjaxControlToolkit.dll to workaround the problem and still get line-level times for all of the other dlls.

Hopefully this helps.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Thu Nov 05, 2009 5:40 pm

Also, the blocking time shouldn't be as noticable if you switch from wall-clock to CPU time.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to ANTS Performance Profiler 5

Who is online

Users browsing this forum: No registered users and 0 guests