Xamarin Profiler not connecting to target

DanielHutchingsDanielHutchings GBMember ✭✭

I am having problems running the Xamarin Profiler. The Profiler starts but does not connect to the target. Below is the log for when it fails. Occasionally, i.e. 1 in 15 runs, the profile does connect and run as expected. Is there a set procedure I have to follow to get it to run?

I am running VS 2017 Enterprise edition 15.5.3 and Profiler 1.6.0.27.

XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.5246] ##########################################
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.5271] # Xamarin Profiler version - 1.6.0.27
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.5271] # * Arch x86_64
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.5271] ##########################################
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.7833] initializing android platform
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.7838] initializing ios platform
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.7843] initializing mlpd platform
XamarinProfiler.Core.Profiler Information: 0 : [2018-01-11 13:59:34.9558] processing command line = C:\Program Files (x86)\Xamarin\Profiler\XamarinProfiler.exe --type=android --target=DanielXamarin.DanielXamarin|md5d69df11cbca0e72f1ef3f4ab56d963cc.MainActivity --device=Play --options=name:Play
XamarinProfiler.Windows.Core.WindowsRunFactory Information: 0 : [2018-01-11 13:59:45.9924] Creating android run for DanielXamarin.DanielXamarin|md5d69df11cbca0e72f1ef3f4ab56d963cc.MainActivity target on device Play
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2018-01-11 13:59:46.0160] Initializing profiling...
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2018-01-11 13:59:46.0706] Waiting for device Play to connect
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Error: 0 : [2018-01-11 13:59:46.0736] Sorry, something went wrong trying to run DanielXamarin.DanielXamarin: Device Play not found
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Error: 0 : [2018-01-11 13:59:46.0736] Sorry, something went wrong trying to run DanielXamarin.DanielXamarin: Device Play not found
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2018-01-11 13:59:46.0741] Sorry, something went wrong trying to run DanielXamarin.DanielXamarin: Device Play not found
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2018-01-11 13:59:46.0771] Stopping session. Please wait...
XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2018-01-11 13:59:46.0866] Stopped
XamarinProfiler.Windows.MainWindow Error: 0 : [2018-01-11 13:59:46.0871] Error occured on run DanielXamarin.DanielXamarin: Device Play not found
XamarinProfiler.Windows.MainWindow Error: 0 : [2018-01-11 13:59:46.0871] Error occured on run DanielXamarin.DanielXamarin: Device Play not found
XamarinProfiler.Windows.MainWindow Information: 0 : [2018-01-11 13:59:46.0876] StartRecording for DanielXamarin.DanielXamarin
XamarinProfiler.Windows.MainWindow Information: 0 : [2018-01-11 13:59:46.4907] CurrentRun.Finished for DanielXamarin.DanielXamarin
XamarinProfiler.Core.Profiler Critical: 0 : [2018-01-11 13:59:46.5478] TaskScheduler UnobservedTaskException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
XamarinProfiler.Core.Profiler Critical: 0 : [2018-01-11 13:59:46.5478] TaskScheduler UnobservedTaskException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
XamarinProfiler.Core.Profiler Critical: 0 : [2018-01-11 13:59:46.5875] TaskScheduler UnobservedTaskException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
XamarinProfiler.Core.Profiler Critical: 0 : [2018-01-11 13:59:46.5875] TaskScheduler UnobservedTaskException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.

Tagged:
Sign In or Register to comment.