|
-
April 10th, 2010, 10:08 AM
#1
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...
-
April 11th, 2010, 07:33 AM
#2
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.
-
April 11th, 2010, 09:28 AM
#3
Re: How to Debug Injected DLL
Thanks Alex, don't think I have that option, currently using VS Express 2010 Beta 2. Will upgrade :-)
-
April 11th, 2010, 09:56 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|