Red Gate forums :: View topic - The profiler did not find any methods with source code
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

The profiler did not find any methods with source code

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
tom103



Joined: 09 Jun 2010
Posts: 8
Location: Paris, France

PostPosted: Fri May 31, 2013 4:03 pm    Post subject: The profiler did not find any methods with source code Reply with quote

I'm trying to profile a Windows Store application, but ANTS Performance profiler only shows methods named "<Unknown>.<Unknown>()".

I've seen this page, but all it says about Windows Store apps is this:

Quote:
Profiling Windows Store Applications with trivial methods

When profiling Windows Store Applications, some methods may not appear in profiling results because ANTS Performance Profiler ignores trivial methods for Windows Store Applications.

A method is trivial if it is smaller than 192 bytes of IL, doesn't contain any branches or loops, and doesn't contain any calls to other methods.


But it doesn't help, because the methods I'm trying to debug are not trivial...



How can I fix it?

(btw, my app is compiled as Debug, and the pdb files are present in the executable folder ; I'm starting the profiler by using the "Profile Performance" command in the ANTS menu of Visual Studio)
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Mon Jun 03, 2013 12:14 pm    Post subject: Reply with quote

What happens if you run the profiler and then profile your app by picking the Windows Store option on the startup screen- any different?
Back to top
View user's profile Send private message
tom103



Joined: 09 Jun 2010
Posts: 8
Location: Paris, France

PostPosted: Mon Jun 03, 2013 2:59 pm    Post subject: Reply with quote

Hi James, thanks for your reply.

It doesn't seem to change anything, I get the same results as before.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Mon Jun 03, 2013 3:02 pm    Post subject: Reply with quote

Ok - it seems that seeing <Unknown>.<unknown> has cropped up intermittently before- we have a bug ref. PP-1710 for it, but there's no indication of cause on there. I'll follow up with the APP team to see if I can find out more...
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Mon Jun 03, 2013 4:06 pm    Post subject: Reply with quote

Out of interest, what kind of spec is the machine you're running on? It sounds like the problem is more likely to manifest itself on lower-specification machines.
Back to top
View user's profile Send private message
tom103



Joined: 09 Jun 2010
Posts: 8
Location: Paris, France

PostPosted: Mon Jun 03, 2013 4:21 pm    Post subject: Re: Reply with quote

james.billings wrote:
Out of interest, what kind of spec is the machine you're running on? It sounds like the problem is more likely to manifest itself on lower-specification machines.


Windows 8 Pro 64-bit
Intel Core i7 2600 3.4GHz
8GB RAM
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Mon Jun 03, 2013 5:01 pm    Post subject: Reply with quote

Hmm, that doesn't sound too shoddy...
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Tue Jun 04, 2013 11:39 am    Post subject: Reply with quote

Is there any possibility we'll be able to obtain a copy of your code (or if that's not possible, at least the executables) so we can investigate further? So far, this problem hasn't been reliably reproducible in-house.
Back to top
View user's profile Send private message
tom103



Joined: 09 Jun 2010
Posts: 8
Location: Paris, France

PostPosted: Tue Jun 04, 2013 1:07 pm    Post subject: Re: Reply with quote

james.billings wrote:
Is there any possibility we'll be able to obtain a copy of your code (or if that's not possible, at least the executables) so we can investigate further? So far, this problem hasn't been reliably reproducible in-house.


I can't send you the code of this specific application because it belongs to my company, but I can reproduce the issue with any Windows Store app...

This project has the problem; I created it from the Grid App (XAML) template and didn't change anything in it.
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1123
Location: My desk.

PostPosted: Tue Jun 04, 2013 1:36 pm    Post subject: Reply with quote

Thanks- we'll take a look. Interesting you say any Store app does it, as we've tested various ones here without problem; so it may still prove to be environmental rather than application specific. I'll post back when I have an update.
Back to top
View user's profile Send private message
nitin3381



Joined: 08 Aug 2013
Posts: 1

PostPosted: Thu Aug 08, 2013 1:12 pm    Post subject: Re: The profiler did not find any methods with source code Reply with quote

I am also facing same issue, Let me know if there is any solution or work around.
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