How to Attach Debugger to a Running Android or IOS app?

dinobdinob USUniversity ✭✭✭

I often start an app just to see how it works, then I decide to debug, so I just attach to its process and debugging kicks in.

But I am not able to find how to attach to a running Xamarin Forms app process to start debugging.

To clarify, I know how to debug and that works fine but how do I attach debugger to a running Xamarin Forms app to debug?

Answers

  • LuisDavidDelaCruzLuisDavidDelaCruz Member ✭✭✭

    I other words you want to see the debugging process in your Xamarin.Forms app or what? I didn't understand :neutral: ...

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    He wants to start an app on the tablet - then attach a debugger to it.
    Versus starting a debugging session through F5.

  • dinobdinob USUniversity ✭✭✭

    @ClintStLaurent said:
    He wants to start an app on the tablet - then attach a debugger to it.
    Versus starting a debugging session through F5.

    That's correct

  • BillyLiuBillyLiu Member, Xamarin Team Xamurai

    @dinob

    I am afraid it is still not supported yet.

  • EspectrosEspectros Member ✭✭

    @BillyLiu said:
    @dinob

    I am afraid it is still not supported yet.

    Any lights on that? or in the Roadmap?

  • StefanMarekStefanMarek USMember ✭✭

    still no lights at the end of the roadmap?

  • dinobdinob USUniversity ✭✭✭

    @StefanMarek said:
    still no lights at the end of the roadmap?

    Nothing

  • OnurHazarOnurHazar USUniversity ✭✭✭

    Please support this for your future releases of VS for Mac.

  • JohnHardmanJohnHardman GBUniversity mod

    Does anybody know if XCode or AndroidStudio can do this? If they cannot, then I assume that iOS and Android do not support it, and so Visual Studio would not be able to either. On the other hand, if XCode and AndroidStudio can do it, it would be a very useful thing for Visual Studio to do.

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    @OnurHazar said:
    Please support this for your future releases of VS for Mac.

    Putting this in a Q&A forum that basically isn't monitored by Microsoft is pointless. They don't use forum comments to drive development.

    Its a Visual Studio feature request. You need to use Visual Studio feedback to request it. If you don't use the right channels to put it into the right hands you're just pissing into the wind.

  • OnurHazarOnurHazar USUniversity ✭✭✭
    edited July 10

    @ClintStLaurent
    Thanks for the clarification, you are right. I just posted a feature suggestion into their developer community forum.
    https://developercommunity.visualstudio.com/spaces/41/visual-studio-for-mac.html?type=idea

Sign In or Register to comment.