Re: newbie: how to attach a debugger to a dll dynamically?
- From: "Mike P" <mikep@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 18:12:11 -0800
"MickyG" <Micky.Goyal@xxxxxxxxx> wrote in message
news:1143589231.428697.303000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a windows service (.exe) that loads a dll dynamically which I
need to debug. I have compiled that dll with debug info but cant get
the debugger to start!
I have read some discussions about using _asm{int 3} but thats not
working for me...
Any pointers would be appreciated.
Thanks!
MickyG
Here are a few random thoughts:
Run the service as an app from the ide with breakpoints set before loading
the dll. Then step into the dll.
Write a small test app that loads the dll for debugging.
I've used DebugBreak() successfully in a service (same a int 3).
Is it possible to run the service as a service and attach the debugger to
it?
What version of visual studio are you running?
Mike P
.
- References:
- Prev by Date: Re: Reading Running Process
- Next by Date: Remote debugging broken on WinXP Pro SP2
- Previous by thread: newbie: how to attach a debugger to a dll dynamically?
- Next by thread: Remote debugging broken on WinXP Pro SP2
- Index(es):
Relevant Pages
|