Category Archives: Profiler

The Xamarin Profiler product

Alpha Preview 3: Cycle 9

We are releasing the third Alpha preview of our next major feature release, called Cycle 9.

If you notice an error in this blog post or have trouble downloading one of the installer packages, please let us know in the corresponding forum thread.


Known Issues

As this is a Alpha build, there are some known issues and the possibility of new issues being found during testing.

Of course additional bug reports are still welcome for these preview versions. If you see any suspicious behavior that you wish to report, please file a quick bug. File a bug using the “Cycle 9 Preview” new bug form.

  • [Xamarin.VS] – At this time, as a result of VS 2017 moving away from .msi packaging toward utilization of the Visual Studio Installer system, Xamarin for Visual Studio 2017 can not be installed at the same time as Xamarin for Visual Studio 2015/2013/2012. Please note that installing Xamarin to Visual Studio 2017 will render any previous installation of Xamarin in an earlier version of Visual Studio inoperable.
  • [Xamarin.Android]48213 – Android 7.1.1 (API 25) is not yet supported in this release and can cause deployment errors such as “Value cannot be null. Parameter name: path2” if it is installed. A workaround is to uninstall API 25 in the Android SDK Manager or to disable Project properties > Application > Compile using Android version > Use Latest Platform (in Visual Studio) or Project Options > Build > General > Use latest installed platform (in Xamarin Studio) if you encounter any deployment failures.
  • [Xamarin.VS]46559 – VS hangs while Running/debugging an Android Wear App
  • [Xamarin.VS] – 46750 – User is not able to Create Xamarin.Forms application on Windows 7 with VS2012/13

Products Released 


Installing the Alpha and switching back to Stable

You can install this new Alpha version or switch back to the current Stable version by changing updater channels.


Upcoming Release Dates

Alpha – Nov 8th, 2016

Alpha 2 – Nov 16th, 2016 (Connect(); Conference)

Alpha 3 – This Release!

Connect(); Keynote Releases

As you may have heard during the Connect(); Keynote session, we’re releasing a number of new products to our Alpha and Stable channels, with many new features available to sample right now.

 

 


WEB PREVIEW – VISUAL STUDIO FOR MAC


We are releasing our first preview of Visual Studio for Mac. Visual Studio for Mac is an evolution of Xamarin Studio, and includes all the functionality of Xamarin Studio 6.2.

Many changes have been made to the look-and-feel, terminology and default settings to to align more closely with Visual Studio, while remaining a Mac-centred development experience


Products Released

 

 


STABLE RELEASE – XAMARIN WORKBOOKS & INSPECTOR


We are releasing our first Stable build of Xamarin Inspector and Xamarin Workbooks for iOS, Android, Mac, and WPF applications. Xamarin Inspector is an interactive tool that you can use to diagnose and prototype changes in your application. The inspector can attach to a live application on any of the supported platforms. Xamarin Workbooks provide a blend of documentation and code that is perfect for experimentation, learning, and creating guides and teaching aides.


Products Released

 


STABLE RELEASE – iOS SIMULATOR (FOR WINDOWS)


We are releasing our first Stable build of the iOS Simulator for Xamarin.VS. The remote iOS Simulator provides you with a way to test and debug iOS apps on the simulator entirely from Visual Studio on Windows.

 

 


STABLE RELEASE – XAMARIN PROFILER


Note (11/22): Xamarin Profiler has been updated to build 1.0.2.2 (from 1.0.1.2). The issues fixed in these updates are noted below.

Note (11/17): Xamarin Profiler has been updated to build 1.0.1.2 (from 1.0.0.24). The issues fixed in these updates are noted below.

Xamarin Profiler 1.0 is now available for download! The Xamarin Profiler Preview integrates seamlessly with your existing Xamarin toolchain to collect information about your Xamarin apps. Use it to find memory leaks, resolve performance bottlenecks, and add polish to your apps before getting them out the door.


Products Released

  • Xamarin Profiler 1.0.2.2
    • Release Notes
    • Issues Addressed:
      • 44253 – Application not rebuilt with profiling support when profiling
      • 47263 – Couldn’t retrieve SSH Fingerprint

 

 


ALPHA RELEASE – CYCLE 9 UPDATED PREVIEW


An updated preview of our next upcoming feature release (called Cycle 9) can be downloaded from the Alpha channel.


Cycle 9 Alpha Known Issues

  • [Xamarin.VS] – At this time, as a result of VS 2017 moving away from .msi packaging toward utilization of the Visual Studio Installer system, Xamarin for Visual Studio 2017 can not be installed at the same time as Xamarin for Visual Studio 2015/2013/2012. Please note that installing Xamarin to Visual Studio 2017 will render any previous installation of Xamarin in an earlier version of Visual Studio inoperable.
  • [Xamarin.VS]46557 – Android Designer is unable to render in Visual Studio.
  • [Xamarin.VS]46559 – VS hangs while Running/debugging an Android Wear App
  • [Xamarin.VS] – 46750 – User is not able to Create Xamarin.Forms application on Windows 7 with VS2012/13
  • [Xamarin.Android] 46509 – New linker failure in Xamarin.Android Cycle 9 on Windows error MSB4018: System.ArgumentNullException: Value cannot be null. Parameter name: instruction
  • [Xamarin.Android] 46510 – New linker failure in Xamarin.Android Cycle 9 Error executing task LinkAssemblies: Value cannot be null. Parameter name: variable

Cycle 9 Alpha Products Released 

 

 


STABLE RELEASE – CYCLE 8 SERVICE RELEASE 1 UPDATES


Note (11/22): Xamarin.VS has been updated to 4.2.1.64 (from 4.2.1.62) .Xamarin Profiler has been updated to build 1.0.2.2 (from 1.0.1.2). The issues fixed in these updates are noted below.

Note (11/17): Xamarin.VS has been updated to 4.2.1.62 (from 4.2.1.60), and Xamarin Profiler has been updated to build 1.0.1.2 (from 1.0.0.24). The issues fixed in these updates are noted below.

An updated Xamarin.VS has been released to Stable as part of C8SR1 alongside the newly released Xamarin tools products. 


Cycle 8 Service Release 1 Stable Products Released 

 

Preview: Xamarin Profiler 0.38.0

Xamarin Profiler preview 0.38.0 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Preview: Xamarin Profiler 0.34.2

Xamarin Profiler preview 0.34.2 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Preview: Xamarin Profiler 0.34.1

Xamarin Profiler preview 0.34.1 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Preview: Xamarin Profiler 0.34.0

Xamarin Profiler preview 0.34.0 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.
  • Support for Xamarin.Mac app profiling is preliminary.
  • Installation on Windows with previous versions (>= 0.24) fails, so old profiler versions will be uninstalled first.

 

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Preview: Xamarin Profiler 0.33.2

Xamarin Profiler preview 0.33.2 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.
  • Support for Xamarin.Mac app profiling is preliminary.
  • Installation on Windows with previous versions (>= 0.24) fails, so old profiler versions will be uninstalled first.

Issues Addressed

  • 39763 – Old Xamarin.Mac used for building the package.
  • 40944 – Crash when selecting time range with no instruments.
  • 40451 – Remove dependency on Xamarin Studio.
  • 40345 – Time range selection enabled when just clicking on the chart.
  • 41248 – Wrong caption when drilling down allocations summary.
  • 41284 – Exception when stopping Android run.
  • 41293 – Call tree nodes getting collapsed.
  • 41210 – Call tree options don’t work when time range selected.
  • 40595 – Missing loading spinner.
  • 41427 – Unhandled exception.
  • 41137 – Can’t profile on iOS devices

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Evolve Keynote Releases!

UPDATE – We’ve added a new build of the Xamarin Profiler that is compatible with the Cycle 7 builds noted below. 

 

As you may have heard from Miguel during the Evolve 2016 Keynote session, we’re releasing a number of new builds to our Alpha and Beta channels, with many new features available to sample right now.

 

 


WEB PREVIEW – XAMARIN WORKBOOKS / INSPECTOR


We are releasing an updated preview of the Xamarin Inspector for iOS, Android, Mac, and WPF applications. Xamarin Inspector is an interactive tool that you can use to diagnose and prototype changes in your application. The inspector can attach to a live application on any of the supported platforms.


Products Released

 

 


WEB PREVIEW – iOS SIMULATOR (FOR WINDOWS)


We are releasing our first preview of the iOS Simulator for Xamarin.VS. The remoted iOS Simulator provides you with a way to test and debug iOS apps on the simulator entirely from Visual Studio on Windows.

 

 


WEB PREVIEW – XAMARIN PROFILER


Xamarin Profiler preview 0.33 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Products Released

 

 


ALPHA RELEASE – CYCLE 8  FIRST PREVIEW


Our first preview of our newest upcoming feature release (called Cycle 8) can be downloaded from the Alpha channel.

NOTE: Since Google’s newest Android N previews now only allow linking to NDK-provided native libraries, existing apps using e.g. Mono.Data.Sqlite.dll will crash when running on Android N. The functionality to support this is not in this release, however it will be included in a future release of Cycle 8, and will also be published to our Stable Channel via a Service release shortly after Evolve 2016.

NOTE: Visual F# Tools 4.0 RTM must be installed in order for F# console project builds to work with Cycle 8 Xamarin Studio build noted below.

NOTE – You will need to have MS Build Tools 2015 installed in order to use the iOS Designer with the Xamarin.VS build published to the Alpha channel.


Cycle 8 Alpha Known Issues

  • [Xamarin Studio / Xamarin.VS] – Updating your Xamarin.iOS, Xamarin.Android, or Xamarin.Mac to the builds noted below without also updating your IDE will prevent the IDE from properly running license checks, which can cause adverse functionality.
  • [Xamarin Studio – Windows Only] – You must have both MS Build Tools 2013 and MS Build Tools 2015 installed on your machine for Xamarin Studio to work properly on Windows.
  • [Xamarin.iOS] – Breakpoints may not hit for WatchKit applications when the Link All option is selected.
    • Workaround – Perform a “Clean” (or Rebuild) after switching the Link all option on.
  • [Xamarin.Android] – Android.App.Instrumentation subclasses used for app launching or headless execution may not behave as expected when running on API 15 devices or lower.
    • Workaround – Change the target framework for any such project to v2.3.
  • [Xamarin.Android] – Fast deployment is not working correctly for satellite assemblies.
    • Workaround – Disable fastdev/shared runtime to ensure the local assemblies are just bundled into the APK. This does not result in these assemblies also being written into MonoAndroidIntermediateAssetsDir.
  • [Xamarin.Android] – Command line project installation via msbuild/xbuild  (as well as other targets which require a device) will now fail when multiple devices are attached.
    • Workaround – The suggested workflow is to use the ‘serial’ argument: “-s $(serial)”.

Cycle 8 Alpha Products Released 

  • GTK# 2.12.38

Upcoming Release Dates

Cycle 8 Alpha – This Release!

Cycle 8 Beta – Fall 2016

Cycle 8 Stable – Fall 2016

 

 


BETA RELEASE – CYCLE 7 RELEASE CANDIDATE


Our next major feature release, called Cycle 7, has had some Alpha and Beta previews out for awhile, but now we’re putting our first Release Candidate to the Beta Channel. We’re really close to finalizing this release, but need your help to hammer on these RCs and shake out any last issues that are hidden away.

NOTE: Since Google’s newest Android N previews now only allow linking to NDK-provided native libraries, existing apps using e.g. Mono.Data.Sqlite.dll will crash when running on Android N. The functionality to support this is not in this release, however it will be included in a future release of Cycle 7, and will also be published to our Stable Channel via a Service release shortly after Evolve 2016.

NOTE: Visual F# Tools 4.0 RTM must be installed in order for F# console project builds to work with Cycle 7 Xamarin Studio build noted below.

NOTE – You will need to have MS Build Tools 2015 installed in order to use the iOS Designer with the Xamarin.VS build published to the Beta channel.


Cycle 7 Release Candidate Known Issues

  • [Xamarin Studio / Xamarin.VS] – Updating your Xamarin.iOS, Xamarin.Android, or Xamarin.Mac to the builds noted below without also updating your IDE will prevent the IDE from properly running license checks, which can cause adverse functionality.
  • [Xamarin Studio – Windows Only] – You must have both MS Build Tools 2013 and MS Build Tools 2015 installed on your machine for Xamarin Studio to work properly on Windows.
  • [Xamarin.iOS] – Breakpoints may not hit for WatchKit applications when the Link All option is selected.
    • Workaround – Perform a “Clean” (or Rebuild) after switching the Link all option on.
  • [Xamarin.Android] – Android.App.Instrumentation subclasses used for app launching or headless execution may not behave as expected when running on API 15 devices or lower.
    • Workaround – Change the target framework for any such project to v2.3.
  • [Xamarin.Android] – Fast deployment is not working correctly for satellite assemblies.
    • Workaround – Disable fastdev/shared runtime to ensure the local assemblies are just bundled into the APK. This does not result in these assemblies also being written into MonoAndroidIntermediateAssetsDir.
  • [Xamarin.Android] – Command line project installation via msbuild/xbuild  (as well as other targets which require a device) will now fail when multiple devices are attached.
    • Workaround – The suggested workflow is to use the ‘serial’ argument: “-s $(serial)”.

 

Cycle 7 Release Candidate Products Released 

  • GTK# 2.12.38

Upcoming Release Dates

Cycle 7 Alpha – March 10th, 2016

Cycle 7 Alpha 2 – March 15th, 2016

Cycle 7 Beta – April 11th, 2106

Cycle 7 Release Candidate – This Release!

Cycle 7 – May 2016

 

Preview: Xamarin Profiler 0.32

Xamarin Profiler preview 0.32 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.
  • Support for Xamarin.Mac app profiling is preliminary.
  • Enabling Boehm for iOS builds results in no useful data on devices, as allocations and calls need to be disabled.
  • Performance with large apps has been improved, but is not yet complete.

Issues Addressed

  • 38689 – The details tab should no longer resize and occlude instruments when clicking on any individual instrument.
  • 38302 – You should now be able to properly check the “Only Persistent Object” checkbox, and the “objects allocated” value should properly change.
  • 37908 – Tool tips should now properly appear for trimmed text.
  • 38854 – Activity indicator should now properly stop when profiling is stopped.
  • 38549 – Stack trace information should now properly display when a warning icon is clicked.

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.

Preview: Xamarin Profiler 0.31

Xamarin Profiler preview 0.31 is now available for download! There have been a number of fixes since our previous preview, which have been noted below.

Please note that the Mac app bundle has been renamed (from XamarinProfiler.Mac.app to “Xamarin Profiler.app”), so the old version needs to be removed before installing this new update, so that Xamarin Studio prompts the user for the new location.


 

Known Issues

  • No official support for profiling release builds is available at this time.
  • Data sets are correct at the time of collection, but data mining and representation is preliminary. This will improve in future releases.
  • Time instrument not available for Android and tvOS profiling.
  • Support for Xamarin.Mac app profiling is preliminary.
  • Enabling Boehm for iOS builds results in no useful data on devices, as allocations and calls need to be disabled.
  • Performance with large apps has been improved, but is not yet complete.

 

Issues Addressed

  • 37146 – Data should now show up correctly in the Profiler console tab for iOS applications.
  • 37230 – Selecting time period in Time Profiling should now correctly show data.
  • 36058 – Profiler should now show the correct snapshot count in detail view and snapshot pop up window.
  • 37018 – Correct version info should now appear in Profiler control panel after install of Windows version.
  • 35901 – Fixed a crash with iOS profiling.
  • 37128 – Profiler should now properly generate graph and data when profiling on an iOS device through Visual Studio.
  • 36210 – Profiler should work for normal console.exe, can correctly open mlpd in temp.
  • 36429 – Labels are now properly trimmed in the right side view values for the Mac Profiler.
  • 36409 – Mac Profiler console.exe should now be able to properly open via the File -> Open menu.
  • 35518 – Xamarin Profiler on VS should now properly start a new profiling session and get a result for a new scenario.
  • 28943 – Application should now properly be selected in target dropdown on Profiler main window for the Mac Profiler.
  • 37793 – Mac Profiler should now properly select symbol name without any error.
  • 34154 – The “Only persistent objects” checkbox now only shows as checked in the views where the users has selected it.
  • 31381 – Negative numbers should now properly be colored red in the “Object Growth” column in snapshot view.
  • 37735 – All options (All Profiler, Allocations, Time Profiler) should now be properly enabled when starting the profiler.
  • 37654 – Call tree should now properly sort children.
  • 34627Stats are now getting updated when the user clicks on the checkbox ‘Only Persistent Objects’ in view “Allocations List” for the Windows Profiler.
  • 37838 – Row highlighting should now work correctly in the Call Tree View for the Windows Profiler.
  • 37797 – Fixed some UI freezing issues.

Products Released


As with all our preview releases, this is not a product we officially support. If you encounter any issues, we recommend filing a bug in Bugzilla. You can also jump into the discussions on the forum thread posted below.