Debuging Interop: C# -> C++
-
Dear experts, I have the following problem. I have "C++ - unmanaged code" and I want to use it in my managed C#-Applications. Therefore I have a "managed C++" - wrapper around my "unmanaged C++ - Code" At the end I have the following "call-sequence" "Managed C#" -> "Managed C++" -> "Unmanaged C++" All works fine, but the problem beginns at debugging the unmanged C++-Code. a) I cannot step-into the "unmanged C++-Code" b) The unmanged objects are not expanded in the debugger Does somebody have any advice? Kind regards
-
Dear experts, I have the following problem. I have "C++ - unmanaged code" and I want to use it in my managed C#-Applications. Therefore I have a "managed C++" - wrapper around my "unmanaged C++ - Code" At the end I have the following "call-sequence" "Managed C#" -> "Managed C++" -> "Unmanaged C++" All works fine, but the problem beginns at debugging the unmanged C++-Code. a) I cannot step-into the "unmanged C++-Code" b) The unmanged objects are not expanded in the debugger Does somebody have any advice? Kind regards
-
Ok, I found the solution the "stop-into"-Problem by Myself: Just the the debugger-option to: "Enable unmanaged code debugging". What remains is the second problem: The unmanaged objects are not expanded. Kind regards
Hallo, I found another part of solution. If I set for all 3 components the debugger-option to "mixed mode" than I can expand the "unmanged objects" in the "managed C++"-Wrapper :-)))) But I still cannot expand my "unmanaged C++"-objects in my "manged C#"-Code. I fear, this is not possible due to totally different languages Kind regards