Profiler stops recording after +-8 seconds (windows)

bartdkbartdk USMember
edited January 31 in Profiler

Running 1.1.7.4, the profiler seems to stop working after a certain amount of time.
Did try to run several solutions, and facing the same issue (did try to run a couple of times)

Answers

  • prashantvcprashantvc USXamarin Team Xamurai

    @bartdk Could you try updated to the new version of Profiler to see if helps.
    Also can you send us the logs if you continue to have an issue, please? It will help us to troubleshoot the issue

    You can find the logs at Help->Open Log Directory

  • QPQP RUMember
    edited June 7

    The same issue for me...It stops recording in 20-30 seconds during CPU profiling while memory profiling works and doesn't hang...

    Upd: another time it stops in 4 seconds, so there's no any determined time. The last lines from log file:

    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:42.6669] Initializing profiling...
    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:42.7135] Looking for Android device EAAZCY27P102
    XamarinProfiler.Windows.MainWindow Information: 0 : [2017-06-07 08:53:42.7175] StartRecording for some_activity
    XamarinProfiler.Core.Platforms.Android.ProfileAndroidRun Information: 0 : [2017-06-07 08:53:43.3539] checking runtime version on device Asus _T00G
    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:44.0842] Starting Android activity empowr.android.md50107ed9d3b2ebdc1b8b06bae0b92c41a.MainActivity
    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:45.1463] Starting profiler on Android device Asus _T00G with heapshot=ondemand,noalloc,nocalls,maxframes=8,sample=cycles/1000,
    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:45.4105] Opening C:\Temp\hwgnqfqq.mlpd
    XamarinProfiler.Core.Reader.LogReader Information: 0 : [2017-06-07 08:53:45.6574] read header with format version 13
    XamarinProfiler.Windows.ViewModels.ProgressReport.ReportViewModel Information: 0 : [2017-06-07 08:53:45.6834] Reading data...

  • RodrigoMoyaRodrigoMoya ESXamarin Team Xamurai

    This is a crash in the app indeed, so can you please attach the contents of the 'Console' tab in the profiler once the app crashes please? That tab contains the contents of the Android logcat from the device, so it should have more information.

Sign In or Register to comment.