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 Dll

Debugging Dll

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugging
5 Posts 3 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.
  • S Offline
    S Offline
    Shenthil
    wrote on last edited by
    #1

    How can debug a dll in a runtime? I have a command line program which uses a dll and i would like to debug the dll during run-time. how can i do that. Shenthil

    A 1 Reply Last reply
    0
    • S Shenthil

      How can debug a dll in a runtime? I have a command line program which uses a dll and i would like to debug the dll during run-time. how can i do that. Shenthil

      A Offline
      A Offline
      Anthony_Yio
      wrote on last edited by
      #2

      In your DLL project Specify your Debug - Executable for debug session. (the executable which uses the DLL) Sonork 100.41263:Anthony_Yio

      M S 2 Replies Last reply
      0
      • A Anthony_Yio

        In your DLL project Specify your Debug - Executable for debug session. (the executable which uses the DLL) Sonork 100.41263:Anthony_Yio

        M Offline
        M Offline
        Mike Dimmick
        wrote on last edited by
        #3

        Alternatively, in the EXE project, go to Project > Settings > Debug tab > Additional DLLs category. Add any DLLs to be debugged along with the project here. A third way, IIRC, is to add both projects to the same workspace.

        S 1 Reply Last reply
        0
        • A Anthony_Yio

          In your DLL project Specify your Debug - Executable for debug session. (the executable which uses the DLL) Sonork 100.41263:Anthony_Yio

          S Offline
          S Offline
          Shenthil
          wrote on last edited by
          #4

          Thanks. I am working on it. Also, do u know how to turn off disassemble while debugging.

          1 Reply Last reply
          0
          • M Mike Dimmick

            Alternatively, in the EXE project, go to Project > Settings > Debug tab > Additional DLLs category. Add any DLLs to be debugged along with the project here. A third way, IIRC, is to add both projects to the same workspace.

            S Offline
            S Offline
            Shenthil
            wrote on last edited by
            #5

            Thanks Mike.

            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