Debugging an ATL Dll using a manged application
-
Hello, I have a "gold old" ATL Dll which is used by some applications I created. The project was originally created with VC6. Debugging this Dll by starting an application and setting breakpoints using VC6 inside the Dll has never been a problem even if the application was a managed C#-application. After upgrading the dll-project to VS.NET 2003 I have no problems to do the same using a VC application to load the dll. However, starting the same managed application I used before in VC6 to load the debugger now does not stop at the breakpoints. The breakpoints are marked with a ? . Hovering the mousepointer over the breakpoint shows a tooltip saying "the breakpoint will not currently be hit. No symbols have been loaded for this document". As I wrote before the same procedure works perfectly loading a native VC application. What do I have to do to be able to debug the atl dll using VS.NET 2003 :confused::confused: Any help appreciated Rainer
-
Hello, I have a "gold old" ATL Dll which is used by some applications I created. The project was originally created with VC6. Debugging this Dll by starting an application and setting breakpoints using VC6 inside the Dll has never been a problem even if the application was a managed C#-application. After upgrading the dll-project to VS.NET 2003 I have no problems to do the same using a VC application to load the dll. However, starting the same managed application I used before in VC6 to load the debugger now does not stop at the breakpoints. The breakpoints are marked with a ? . Hovering the mousepointer over the breakpoint shows a tooltip saying "the breakpoint will not currently be hit. No symbols have been loaded for this document". As I wrote before the same procedure works perfectly loading a native VC application. What do I have to do to be able to debug the atl dll using VS.NET 2003 :confused::confused: Any help appreciated Rainer
-
Check your Project Settings: specifically Debugging/Debugger Type -- set to Native or Mixed or whatever... "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me
igor1960 wrote: Check your Project Settings: specifically Debugging/Debugger Type -- set to Native or Mixed or whatever... This helped Thanks a lot Rainer