Bug 3583 - App crashes when attempting to Profile using Performance Analysis on device
Summary: App crashes when attempting to Profile using Performance Analysis on device
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 5.2
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2012-02-22 09:49 UTC by James
Modified: 2012-02-22 18:13 UTC (History)
3 users (show)

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

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 or GitHub 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:

Description James 2012-02-22 09:49:05 UTC
I am unable to performance profile my iPad app on the device using the Mono Profiler and opting to for "Record enter/leave events" using the default "Maximum call depth" (100).

It connects to the device & attempts to start the app, however, the app doesn't ever load (appears to crash and drop out). From the documentation I can see that this particular option in the Performance profiling is a little bit heavy so it could be a memory issue.

This crash is reproducible on the iPad 1 & 2. I am running MonoDevelop and Mono 2.10.9
Comment 1 James 2012-02-22 09:53:18 UTC
XCode version 4.2.1 (834)
Comment 2 Rolf Bjarne Kvinge [MSFT] 2012-02-22 18:13:15 UTC
Unfortunately record enter/leave events will not work on a device - it instruments each method with enter/leave events at jit time, but we can't jit when running on the device.

MonoDevelop has been modified to not allow this option when you profile on device.