Forum Visual Studio

Debug on device in Visual Studio 2015

Hi, I'm trying to debug my application directly on my Android device.

Visual Studio will recognize the device and install the apk.

After performing the installation, however, Visual Studio is released from the device and does not allow me to debug.

Are there settings that I need to fix to make sure that I can debug my application line by line?

Best Answer

Answers

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭

    Sounds like you are in 'Release' mode and not 'Debug'.

  • ChrisColeTechChrisColeTech USMember ✭✭✭

    Try setting a break point in your main activity to see if the debugger even attempts to fire

    Rebooting the PC or restarting VS multiple times may be necessary.

    And does it deploy to the simulator?

Sign In or Register to comment.