profiling multi threading for website application in concurrency mode with VS performance tools
-
Tuesday, September 27, 2011 6:12 PM
I have a web site running multi thread but not directly on the website, within the class library referenced to that website.
When I try to profile using concurrency, it asks me to choose an exe. Website or web apps dont have any exe? How can I achieve that?
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."- Edited by emil_tr Wednesday, September 28, 2011 11:40 AM
All Replies
-
Wednesday, September 28, 2011 6:08 AMModerator
Hello emil_tr,
Do your mean that you use VS Performance Tools for Web Site?
If so, see this article How to: Profile a Web Site or Web Application Using the Performance Wizard. Hope it could provide helpful information.
Thanks,
Jack Zhai[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
Wednesday, September 28, 2011 11:40 AM
hi Jack,
yes it is about VS profiler. I change the subject
thanks
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -
Thursday, September 29, 2011 3:33 AMModerator
Hi emil_tr,
I am writing to check the status of the issue on your side.
How about this problem going on now?
Would you mind letting us know the result of the suggestions.
Thanks,
Jack Zhai[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
Thursday, September 29, 2011 8:16 AM
Hi Jack,
thanks for your answer but my question was about monitoring threads in my multithread application like "concurrency" mode. just like in this article
http://msdn.microsoft.com/en-us/magazine/ee336027.aspx
but the way explained in that article doesnt work for web applications. because when I select concurrency mode, VS ask me to choose an exe file which isnt exist for web apps.
let me know if I am not clear with what I want.
thanks.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -
Thursday, September 29, 2011 6:44 PM
You're being clear with what you want. The Concurrency Visualizer needs to know the PID of the process though. I imagine the website is being hosted by IIS or Apache, and as a result there a bunch of exe instances running. Sadly what you want isn't acheivable with VS 2010.- Marked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Wednesday, October 05, 2011 2:12 AM

