how to debugging xamarin app in offline mode?

S GAIKWAD 231 Reputation points
2021-07-30T11:04:39.347+00:00

I am debugging the xamarin app in offline mode. There are no triggers when I add break points and when I turn on the internet, all the points work.

Developer technologies | .NET | Xamarin
Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

Accepted answer
  1. JarvanZhang 23,971 Reputation points
    2021-08-02T05:19:19.713+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    VisualStudio doesn't provide the offline dubugger mode. To debug the mode, we need to keep the connection and start the app with the debugger attached to the app process(Debug > Start Debugging).

    Check the doc:
    https://learn.microsoft.com/en-us/visualstudio/debugger/debugger-feature-tour?view=vs-2019

    If you don't want to connect an Android device to a computer using the usb cable, you could use wifi connection instead.
    https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/set-up-device-for-development#alternate-connection-via-wifi

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.