Reputation: 13
I got two apps, one is .Net and other one is C++. The C++ app launches the .Net(wpf) app from within.
I need to debug the .net app when the c++ app launches it.
So I did the following changes:
1. I mentioned c++ exe in" Start External program" in debug properties of the .net app.
2. Also checked Enable Native Debugging option.
Now when i start .Net app then it launches the c++ app but it does not break in .Net app when it should because the breakpoint are disable due to the reason " symbols are not loaded".
Can you please help with it?
Saurabh
Upvotes: 0
Views: 65
Reputation: 942348
This is expected, the debugger does not automatically debug a started child process. Workarounds:
Debugger.Break()
call in the App class constructor.Image File Execution Options
registry key to automatically launch a debugger whenever the WPF program is started. Check this post for details.Upvotes: 2