Debugging OnFileActivated in Windows 8

前端 未结 2 1882
南方客
南方客 2021-01-21 13:40

I\'ve associated my Windows 8 App with a file type. However when I open that file my app starts to open and then crashes.

I can\'t figure out a way to do this while the

相关标签:
2条回答
  • 2021-01-21 13:51

    Another approach:

    Debugger.Launch();
    

    When your app starts and execution reaches this line, your app will be stopped and VS will ask if you want to attach a debugger.

    0 讨论(0)
  • 2021-01-21 13:54

    Does this work? You can debug without launching the app immediately. You can also debug other people's apps.

    enter image description here

    0 讨论(0)
提交回复
热议问题