Debug into unmanage code??
-
Hi, I have a project mixed with C++ and C# in VS 2003. I tried to debug into the C++ code. but it never stop at any break point. I use CoCreateInstance to create the C++ object (C# call a c++ library #1 -- managed C++, lib #1 call CoCreateInstance to create the final object). I want to step into the function call to that object. I have the source code for all the C# and C++ projects. I set the "Enable unmanaged debugging" to true and also "allow unsafe code blocks" to true already. but it I can debug into library 1 only!! does any one has some idea about this!!! Thanks a lot in advance!
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
-
Hi, I have a project mixed with C++ and C# in VS 2003. I tried to debug into the C++ code. but it never stop at any break point. I use CoCreateInstance to create the C++ object (C# call a c++ library #1 -- managed C++, lib #1 call CoCreateInstance to create the final object). I want to step into the function call to that object. I have the source code for all the C# and C++ projects. I set the "Enable unmanaged debugging" to true and also "allow unsafe code blocks" to true already. but it I can debug into library 1 only!! does any one has some idea about this!!! Thanks a lot in advance!
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
-
Small Rat wrote:
I have the source code for all the C# and C++ projects.
You have them all included and compiled in the Solution you are debugging from?
led mike
yes, all the projects are in the same solution. and I can compile it and run it. all the existing functions work fine. I want to add some new funcitons, so I need to debug into it!
Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!