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 a Dll

Debugging a Dll

Scheduled Pinned Locked Moved C / C++ / MFC
debugging
5 Posts 4 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
    SamirSood
    wrote on last edited by
    #1

    I have a exe through which I call a function of the dll . I want to debug the dll while i Am passing the parameters to that function throught the exe. I have a code of the dll with me . Can Anyone suggest A solution for it. Samir Sood

    R R S 3 Replies Last reply
    0
    • S SamirSood

      I have a exe through which I call a function of the dll . I want to debug the dll while i Am passing the parameters to that function throught the exe. I have a code of the dll with me . Can Anyone suggest A solution for it. Samir Sood

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      I suppose something gets wrong into the dll... if you have the code of the dll, a clumsy solution would be to integrate the function into your main code, and watch the effect. Or make a separate program where you pass the same parameters as in your program (I still believe in the "Same cause, same effects" :) ) I think however there should be a better way to do it ... ~RaGE();

      S 1 Reply Last reply
      0
      • R Rage

        I suppose something gets wrong into the dll... if you have the code of the dll, a clumsy solution would be to integrate the function into your main code, and watch the effect. Or make a separate program where you pass the same parameters as in your program (I still believe in the "Same cause, same effects" :) ) I think however there should be a better way to do it ... ~RaGE();

        S Offline
        S Offline
        SamirSood
        wrote on last edited by
        #3

        But Can u suugest some way of directly doing it. Samir Sood

        1 Reply Last reply
        0
        • S SamirSood

          I have a exe through which I call a function of the dll . I want to debug the dll while i Am passing the parameters to that function throught the exe. I have a code of the dll with me . Can Anyone suggest A solution for it. Samir Sood

          R Offline
          R Offline
          Roger Allen
          wrote on last edited by
          #4

          Load the DLL and the exe project into the same workspace. Make the DLL the active project, set your breapoints etc. When you run in debug (F5) point to your exe program as the one to run and go from there. Roger Allen Sonork 100.10016 If I had a quote, it would be a very good one.

          1 Reply Last reply
          0
          • S SamirSood

            I have a exe through which I call a function of the dll . I want to debug the dll while i Am passing the parameters to that function throught the exe. I have a code of the dll with me . Can Anyone suggest A solution for it. Samir Sood

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

            what i do is: open that file of dll into exe in which u wish to go while debuging u can do it like this goto file menu option & select open(not open workspace) then select the file of dll & say ok if u set break points in that file & then debug the exe the control will go to ur dll file u can open more then one dll file in exe & also navigate through them using window menu option surbinsho

            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