Red Gate forums :: View topic - Problems with Silverlight and profiling
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 8
ANTS Performance Profiler 8 forum

Problems with Silverlight and profiling

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Bastian Kröger



Joined: 17 Feb 2014
Posts: 2

PostPosted: Mon Feb 17, 2014 5:21 pm    Post subject: Problems with Silverlight and profiling Reply with quote

Hi all,

for Version 8.5.0.12 I have problems to profile Silverlight 5 applications.
Unfortunately I cannot exactly tell which of the earlier versions worked for me, but it was some of the 8.x versions.

1. problem:
When launching a profiling session the profiler does not attach correctly at all in 90%.
I have to start the session again and again to get it attached.
Very annoying Sad

2. problem:
It will not resolve my source code and always tell me it could not find the pdb files.
I tried every solution I could find on your help sites,
including the one with the global directory (%systemroot%\symbols\dll).
Nothing solves it.
I even created a blank new Silverlight project with nothing more than a simple loop in the MainPage loaded event.
No source code available Sad
For .Net executables it works as expected.

3. problem:
Okay this is not the performance profilter, but anyway the same problem as number 1 applies for the memory profiler in the newest version. Additionally my silverlight app crashes when the memory profiler is attached when using the Internet Explorer V11.

Hope any one can help me what to try next Smile
I would really appreciate to get my source code view back Wink

Kind regards,
Bastian Kröger
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 212

PostPosted: Tue Feb 18, 2014 11:41 pm    Post subject: Reply with quote

Hi Bastian,

Thanks for your post and sorry to hear you're running into some trouble! Regarding those issues..

>> 1. When launching a profiling session the profiler does not attach correctly at all in 90%.

It sounds like you may be running into one known issue with profiling Silverlight in-browser applications. The problem is that if other instances of Internet Explorer are open when you start the profiling session, the profiler does not attach to the correct instance. If this is the case, kindly make sure iexplore.exe processes are closed before you start the profiling session.

>> 2. It will not resolve my source code and always tell me it could not find the pdb files.

We have a support ticket open for you for this forum post (#13374) and I'll shoot you an email through the ticket regarding this issue, as troubleshooting may get a bit complicated on the forums--please look out for it!

(Just a note: the profiler cannot give line-level timings for Silverlight applications, but it should still be able to find your pdb files to properly show your methods with source)

>> 3. ...the same problem as number 1 applies for the memory profiler in the newest version. Additionally my silverlight app crashes when the memory profiler is attached when using the Internet Explorer V11.

The Internet Explorer issue with starting the profiling session applies to the Memory Profiler as well, so hopefully the suggestion above will help! Regarding the crashing, I've created a separate support ticket for you with reference #13404 (please let me know if you don't receive confirmation of this ticket )
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Bastian Kröger



Joined: 17 Feb 2014
Posts: 2

PostPosted: Thu Feb 20, 2014 1:02 pm    Post subject: Reply with quote

Hi Jessica,

thanks for you help.

Besides my answers to your e-mails here are some details I could find out.

The first issue seems to be releated with many open browser windows,
but also with broken IE11 installations. Unfortunately I have no clue which part failed, since everything worked as expected but the profiler.
I deinstalled IE11 and reinstalled it.
When having only one window open now, I can at least attach without problems.

The problem with the pdf files stays unfortunately.
I also checked via your debug tool the assemblies of the same application on some of my colleagues computers, but it always says <unknown>.

Also when attaching the debugger via VS 2012/2013 and looking at the module list -> symbol load information it always states "no pdb file found" in the first line, but in the second line the correct path and "pdb loaded".

Kind regards,
Bastian
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 212

PostPosted: Thu Mar 06, 2014 11:37 pm    Post subject: Reply with quote

Just a quick update should anyone else run into this..

If the profiler is failing to connect to or start profiling your Silverlight in-browser application, please be sure that all iexplore.exe processes are closed in Task Manager before profiling (else the profiler may have trouble attaching to the correct instance of IE)

And if you're using version 8.5 of the profiler with your Silverlight application, (thanks to Bastian!) we've discovered a bug in that the profiler likely won't be able to find and show any of your methods with source. Please bear with us as we investigate this and I'll post here once we have a fix!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
chanakya33



Joined: 25 Mar 2014
Posts: 1

PostPosted: Tue Mar 25, 2014 5:45 pm    Post subject: Same Issue with No Method Data Reply with quote

Hi Jessica -

Even though you have an open ticket as you mentioned, I just wanted to add that I too am experiencing the same problem as Bastian with not seeing any of my own method-specific data (only framework methods) within a Silverlight 5 application with the detail setting to "Only Methods with Source."

I do, however, see method data if I choose "All methods inc. framework" and ensure that the "Display Options" drop-down is set to "All Methods." Unfortunately, to get the actual source code - even if it's my own method with source - I not only have to select the method (from the methods grid / call tree) but decompile it as well in the source view.

Profiler 7.4 works just fine in all respects.

Looking forward to your next status update! Smile [/b]
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 212

PostPosted: Tue Mar 25, 2014 6:03 pm    Post subject: Reply with quote

Hi chanakya33!

We have private build that you can try out where this issue should be fixed-- please send an email to support@red-gate.com and I'll shoot it over to you Smile

Kind regards,

Jessica Ramos
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group