CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    10

    How to Debug Injected DLL

    I am having an issue inside an Injected DLL and writing to a log file just isn't enough to solve the issue.
    I do not know how to make Visual Studio Debug the Injected DLL, I can debug the application doing the injecting just fine. If I set a breakpoint in the DLL it does nothing.

    Any help is appreciated...

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: How to Debug Injected DLL

    You need to execute "Debug - Attach to Process" command in the Visual Studio debugger. Attach to the target process where Dll is injected.

  3. #3
    Join Date
    Apr 2010
    Posts
    10

    Re: How to Debug Injected DLL

    Thanks Alex, don't think I have that option, currently using VS Express 2010 Beta 2. Will upgrade :-)

  4. #4
    Join Date
    Jul 2002
    Posts
    2,543

    Re: How to Debug Injected DLL

    You can use also WinDbg from Debugging Tools for Windows, which is available for free download. Less convenient than VS debugger, but more powerful.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured