Debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kelvin.koogan@googlemail.com

    #1

    Debugging

    I have a C# application which references a C++.NET DLL which links to
    a C++/MFC DLL. When I am debugging I cannot step from the C++.NET DLL
    into the C++/MFC DLL. Any idea why? (If I write a little test app in C+
    +.NET then I can step into the MFC DLL from the .NET DLL).

    TIA,
    KK

  • Carl Daniel [VC++ MVP]

    #2
    Re: Debugging

    kelvin.koogan@g ooglemail.com wrote:
    I have a C# application which references a C++.NET DLL which links to
    a C++/MFC DLL. When I am debugging I cannot step from the C++.NET DLL
    into the C++/MFC DLL. Any idea why? (If I write a little test app in
    C+ +.NET then I can step into the MFC DLL from the .NET DLL).
    There's neither a language nor a product named "C++.NET". I'm assuming that
    by this you're talking about managed C++/CLI code compiled with /CLR by VC
    2005.

    You probably don't have "mixed mode debugging" turned on. In your C#
    project, go to Project|Propert ies|Debug and check the "Enable unmanaged
    code" checkbox.

    -cd


    Comment

    Working...