Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Debuging Interop: C# -> C++

Debuging Interop: C# -> C++

Scheduled Pinned Locked Moved Managed C++/CLI
csharpc++comdebugginghelp
3 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tomerland
    wrote on last edited by
    #1

    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

    T 1 Reply Last reply
    0
    • T Tomerland

      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

      T Offline
      T Offline
      Tomerland
      wrote on last edited by
      #2

      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

      T 1 Reply Last reply
      0
      • T Tomerland

        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

        T Offline
        T Offline
        Tomerland
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups