Johan Johansson
2006-01-04 19:46:51 UTC
Hi everyone!
I'm hoping that someone with more experience/knowledge than me will know
what the correct configuration of debuggers on what machines are.
What I want to achieve
----------------------
I want to be able to easily check at what time/in what order what
services started. This is somewhat complicated by the fact that many
services run in the same process.
My idea
-------
Set a breakpoint in Services!ScStartService and print what service is
being started. This part is solved, in other words, once I get to a
point where I can set this breakpoint I'm done.
Practicalities
--------------
Loading symbols from network seems to require services.exe to be
running, so I've opted for a debugging server with a smart client
attached to it to ensure that the symbols are looked up on another
machine. But, as far as I can tell I must then create the debugging
server with DbgSrv and entering that as the debugger for Services.exe
under Windows NT\CurrentVersion\Image Execution Options just seems to
halt the boot.
My first approach was to use a kernel debugger but I did not have much
success going that route either.
Suggestions?
Thanks,
Johan
I'm hoping that someone with more experience/knowledge than me will know
what the correct configuration of debuggers on what machines are.
What I want to achieve
----------------------
I want to be able to easily check at what time/in what order what
services started. This is somewhat complicated by the fact that many
services run in the same process.
My idea
-------
Set a breakpoint in Services!ScStartService and print what service is
being started. This part is solved, in other words, once I get to a
point where I can set this breakpoint I'm done.
Practicalities
--------------
Loading symbols from network seems to require services.exe to be
running, so I've opted for a debugging server with a smart client
attached to it to ensure that the symbols are looked up on another
machine. But, as far as I can tell I must then create the debugging
server with DbgSrv and entering that as the debugger for Services.exe
under Windows NT\CurrentVersion\Image Execution Options just seems to
halt the boot.
My first approach was to use a kernel debugger but I did not have much
success going that route either.
Suggestions?
Thanks,
Johan