Hi, I've created a solution consisting of an unmanaged C dll and a C# WinForms application. A class in the WinForms application is supposed to call two functions from my dll (using DllImportAttribute). Now I want to debug into the dll code, but unfortunately I can't set any breakpoint in my C code. The debugger just jumps over my C# calls (like pressing F10 instead of F11). What do I need to do to be able to debug into my C code? Any help is appreciated. Axel Dahmen
Did you build the C++ as debug with symbols? -- The personal opinion of Gary G. Little "Axel Dahmen" <keentoknow@newsgroup.nospam> wrote in message news:F39ED752-DE16-496B-99CC-C80CF8A3F1C8@microsoft.com... Hi, I've created a solution consisting of an unmanaged C++ dll and a C# WinForms application. A class in the WinForms application is supposed to call two functions from my dll (using DllImportAttribute). Now I want to debug into the dll code, but unfortunately I can't set any breakpoint in my C++ code. The debugger just jumps over my C# calls (like pressing F10 instead of F11). What do I need to do to be able to debug into my C++ code? Any help is appreciated. Axel Dahmen
Axel Dahmen wrote: > Hi, > > I've created a solution consisting of an unmanaged C++ dll and a C# WinForms application. > > A class in the WinForms application is supposed to call two functions from my dll (using DllImportAttribute). > > Now I want to debug into the dll code, but unfortunately I can't set any breakpoint in my C++ code. The debugger just jumps over my C# calls (like pressing F10 instead of F11). > > What do I need to do to be able to debug into my C++ code? > > Any help is appreciated. Axel: If you have your C++ DLL loaded in Visual Studio, can you not debug it by specifying your C# application as the debug executable? Project Properties->Configuration Properties->Debugging->Command -- David Wilkinson Visual C++ MVP