Groups | Blog | Home
all groups > dotnet interop > november 2004 >

dotnet interop : Debugging C# assembly called from C++


listerofsmeg01 NO[at]SPAM hotmail.com
11/30/2004 9:09:06 AM
Hi,

I have a C# assembly that is being called from VC6 via COM.

I open the C# project in .Net, set a breakpoint, set debug type to
"program", and specify my C++ app.

F5 runs the C++ app, but my breakpoint never fires?!

The C# dll is not in the GAC, and the build path is different to the
actual path of the dll used by the C++ app. Could this be anything to
do with it? (I cannot change the build path for some reason - it is
greyed out).

Also tried enabling "debug unmanaged code" but this makes no
difference.

Any ideas?

Bonj
12/1/2004 1:53:04 AM
[quoted text, click to view]

Er.. yes. (Probably.) This is the first thing I'd try. It should register it
on building it, which should set the path that the C++ program uses.


(I cannot change the build path for some reason - it is
[quoted text, click to view]
AddThis Social Bookmark Button