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. C / C++ / MFC
  4. Debugging an ATL Dll using a manged application

Debugging an ATL Dll using a manged application

Scheduled Pinned Locked Moved C / C++ / MFC
debuggingcsharpc++helpvisual-studio
3 Posts 2 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.
  • R Offline
    R Offline
    Rainer Mangold
    wrote on last edited by
    #1

    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

    I 1 Reply Last reply
    0
    • R Rainer Mangold

      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

      I Offline
      I Offline
      igor1960
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • I igor1960

        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

        R Offline
        R Offline
        Rainer Mangold
        wrote on last edited by
        #3

        igor1960 wrote: Check your Project Settings: specifically Debugging/Debugger Type -- set to Native or Mixed or whatever... This helped Thanks a lot Rainer

        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