Bug 46463 - The profiler does not show multiple threads
Summary: The profiler does not show multiple threads
Status: RESOLVED FIXED
Alias: None
Product: Profiler
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jose Miguel Torres
URL:
Depends on:
Blocks:
 
Reported: 2016-11-04 13:06 UTC by Jerome Laban
Modified: 2016-11-07 13:28 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot of the result. (103.73 KB, image/png)
2016-11-04 13:06 UTC, Jerome Laban
Details
Sample demonstrating the issue (12.14 KB, application/x-zip-compressed)
2016-11-04 13:06 UTC, Jerome Laban
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Jerome Laban 2016-11-04 13:06:31 UTC
Created attachment 18329 [details]
Screenshot of the result.

Using the attached sample, the code running on a background thread is accounted to the UI thread.

The code in the background thread should be accounted separately, like it was in release 0.24.

The profiler release is 0.38.
Comment 1 Jerome Laban 2016-11-04 13:06:52 UTC
Created attachment 18330 [details]
Sample demonstrating the issue
Comment 2 Rodrigo Moya 2016-11-04 18:54:21 UTC
Right, this is a bug already fixed in the Mono runtime profiler, so please, make sure you update all the Xamarin products from the beta channel, which is where the fix has landed so far.
Comment 3 Jerome Laban 2016-11-04 21:07:29 UTC
I've tried again with Xamarin.Android 7.0.2.38, but I'm still only seeing the first thread.

Should I be waiting for an updated Xamarin Profiler as well ?
Comment 4 Rodrigo Moya 2016-11-07 13:26:55 UTC
hmm, that X.A version should have the fix. I assume you tried profiling a live app, right? That is, not loading an existing MLPD file generated with previous versions?

If so, can you please share with me the MLPD so that I can have a look?
Comment 5 Jerome Laban 2016-11-07 13:28:49 UTC
I did try with a live one, multiple times, making sure the app was properly uninstalled first, a completely rebuilt by removing bin/obj.

I'll make a new file to send you.