Command "Debug.LiveInspect" is not available.

Hello all,

I have Visual Studio 2017 and command for run Xamarin.Inspector is not available.

Any ideas why so?

Best Answer

Answers

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai
    1. Please provide all the information requested in https://developer.xamarin.com/guides/cross-platform/inspector/install/#Reporting_Bugs
    2. Where are you typing Debug.LiveInspect? I'm not familiar with this method of executing Visual Studio commands.
  • yauheni_pakalayauheni_pakala BYMember ✭✭
    1. Ok I'll do it
    2. In the Immediate Window
  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    Oh, I see, you have to prefix with > yourself. Very cool!

    In my testing, this does work. However, the fact that the Inspect button is disabled in your screenshot means that something is wrong anyway. The requested information should help.

    Can you also tell me what version of Workbooks & Inspector you have installed (according to Add/Remove Programs)? Thanks!

  • yauheni_pakalayauheni_pakala BYMember ✭✭

    Xamarin Workbooks v.1.2.2 (d15-1/b71b035)

    Microsoft Visual Studio Professional 2017
    Version 15.2 (26430.13) Release

    Xamarin 4.5.0.486 (fec6f88)
    Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

    Xamarin.Android SDK 7.3.1.2 (9dbc4c5)
    Xamarin.Android Reference Assemblies and MSBuild support.

    Xamarin.iOS and Xamarin.Mac SDK 10.10.0.37 (ad35de4)
    Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    And what kind of project are you running?

  • yauheni_pakalayauheni_pakala BYMember ✭✭

    I tried projects Android and iOS, both don't work.

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    Strange, all of the log output in the bug you filed looked as if things are working correctly.

    Can you answer these questions about the devices you were using? https://developer.xamarin.com/guides/cross-platform/inspector/install/#Selected_Devices

    Also, can you share the csproj files you were running? If they are private you can attach them as private in bugzilla and only Xamarin team members will have access.

  • yauheni_pakalayauheni_pakala BYMember ✭✭
    • 10.1" Marshmallow (6.0.0) XHDPI Tablet (Android 6.0 - API 23)
    • Visual Studio Android Emulator
    • The app I'm debugging properly appear and function in the emulator
    • Yes, the device have network connectivity
  • prashantvcprashantvc USXamarin Team Xamurai
    Accepted Answer

    @yauheni_pakala The live inspector is available for VS Enterprise users.
    The command is disabled because you're running VS Professional

Sign In or Register to comment.