Reputation: 7040
I have a Visual Studio 2015 solution with two projects, AppA and AppB. At a certain point, AppA launches AppB. I would like the debugger to start running when AppB is launched by AppA so I can set breakpoints, etc, in AppB, but I don't know how to set this up.
Any help would be appreciated!! Michael
Upvotes: 1
Views: 31
Reputation: 12328
In the startup code for AppB, add a call to Debugger.Break. This will pause execution to allow you to attach a debugger.
Upvotes: 1