locked
How to Debug an App Outside of Visual Studio? RRS feed

  • Question

  • User203781 posted

    I have a cross-platform app that starts and runs fine in the IDE debug mode. However, if the app, in a debug compilation, is started from either iOS or Android starts and subsequently fails; it runs fine on UWP though. I have had the app run on them in earlier versions.

    What settings/logs on those OS's should I set to try and debug the executables? Is there any documentation for working this type of problem?

    Tuesday, January 21, 2020 4:31 PM

Answers

  • User74 posted

    You can attach application level unhandled exception handers on each platform, then log any exception to a file that the app checks for before anything else on app start and then offers to email it to a support address.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, January 21, 2020 7:54 PM
  • User74 posted

    Excellent news, hopefully it wont be a difficult one for you to solve!

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, January 22, 2020 12:33 PM

All replies

  • User74 posted

    You can attach application level unhandled exception handers on each platform, then log any exception to a file that the app checks for before anything else on app start and then offers to email it to a support address.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, January 21, 2020 7:54 PM
  • User203781 posted

    Based on your suggestion and using this discussion as a sample of code, I was able to catch and see the error.

    Wednesday, January 22, 2020 12:25 PM
  • User74 posted

    Excellent news, hopefully it wont be a difficult one for you to solve!

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, January 22, 2020 12:33 PM