The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

UlSc1Au (1) [Avatar] Offline
#1
I have a managed assembly (C#) and a native C++ app compiled with /clr to produce a mixed mode app. All runs fine until I set a breakpoint and try to debug. A System.InvalidProgramException is thrown when the debugger should stop at the breakpoint. The managed DLL has the debug setting 'unmanaged debugging' enabled. The debug option for the native C++ app is set to Mixed. I'm using Visual Studio 2008 on Windows Vista Ultimate.
Any help on fixing this issue will be welcome because currently I'm using message boxes instead of the debugger which is a little frustrating.