Xamarin Profiler (version1.6.4) crash after start profiling with Visual Studio for Mac (version 7.7)

jenniferleungjenniferleung USMember
edited December 2018 in Visual Studio

Hi,

I need some help to get the xamarin profiler working with Visual Studio for Mac.

Repeat steps:
1) Open project in visual studio for mac
2) Go to Run --> Start Profiling
3) Select Allocations, then click Next.
4) Then click Start Profiling, then an error dialog pops "An error has occurred - Object reference not set to an instance of an object."
5) Once the dialog is closed, the xamarin profiler closes down.

Here is the error log:

XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.0638] ##########################################
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.0730] # Xamarin Profiler version - 1.6.4.33
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.0730] # * Arch x86_64
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.0731] ##########################################
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5108] initializing android platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5113] initializing ios platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5116] initializing mlpd platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5117] initializing exe platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5119] initializing dll platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:39.5120] initializing mac platform
XamarinProfiler.Core.ProfilerService Information: 0 : [2018-12-03 17:21:40.4946] processing command line = /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler --type=ios --target=/Users/myUser/Projects/Test/Test/bin/iPhoneSimulator/Debug/device-builds/iphone11.4-12.1/Test.app --device=:v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-12-1,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max|12.1 --options=name:iPhone XS Max
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2018-12-03 17:21:50.4317] Progress report initialized successfully
XamarinProfiler.Mac.Views.LcdView Information: 0 : [2018-12-03 17:21:50.4322] Initializing profiling...
XamarinProfiler.Core.ProfilerService Critical: 0 : [2018-12-03 17:21:50.5118] uncaught exception: Object reference not set to an instance of an object
XamarinProfiler.Core.ProfilerService Critical: 0 : [2018-12-03 17:21:50.5118] uncaught exception: Object reference not set to an instance of an object

Any help is appreciated.

Jen

Sign In or Register to comment.