Debugging OnFileActivated in Windows 8

前端 未结 2 1883
南方客
南方客 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.

提交回复
热议问题