Windows Vista Beta | WinVistaBeta.com - Message | Debugging C# and C++ mixed solution

November 19, 2008  
Subject: Debugging C# and C++ mixed solution
Group: microsoft.public.vstudio.general
Date: 9/17/2008 7:20:33 AM
From: "Ronny" [Email Address Protection]

I work with VS2005.
I managed to add to my C# solution a C++ MFC regular dll project. I added
win32 functions and managed to export them to the c# code and call them with
the interoperability machanism.
Trying to debug the unmanaged code I saw that I simply jump across it and
never jump into it.
Is there a way to do it?
Regards
Ronny




Back
Subject: Re: Debugging C# and C++ mixed solution
Group: microsoft.public.vstudio.general
Date: 9/17/2008 1:27:59 PM
From: David Lowndes [Email Address Protection]

>I work with VS2005.
>I managed to add to my C# solution a C++ MFC regular dll project. I added
>win32 functions and managed to export them to the c# code and call them with
>the interoperability machanism.
>Trying to debug the unmanaged code I saw that I simply jump across it and
>never jump into it.
>Is there a way to do it?

Ronny,

You need to enable mixed native & managed debugging for the project
that you start debugging - it's an option in the property pages
somewhere.

Dave

Back