Kernel Debug Extensions

I am wondering if there is a way to create a debugger extension that has
the ability to single step - without user intervention. The easy way to do
this would be to set a callback that gets called on every instruction. But
I didn’t see one in wdbgexts.h

[a little context…]
I want to trace a specific application and log the registers at every
instruction, how can I do this?

If you have SoftICE, you can use the BPLOG command. On Win9x, you have BPR.
A judicious combination of BPLOG, BPX and BPT commands will do it, if each
breakpoint issues a CPU command to read the registers. It’s a little bit
manual, but it should work.

Alberto.

-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Monday, June 16, 2003 11:15 AM
To: NT Developers Interest List
Subject: [ntdev] Kernel Debug Extensions

I am wondering if there is a way to create a debugger extension that has
the ability to single step - without user intervention. The easy way to do
this would be to set a callback that gets called on every instruction. But
I didn’t see one in wdbgexts.h

[a little context…]
I want to trace a specific application and log the registers at every
instruction, how can I do this?


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

I would like this to be compatiable with windows 2000/xp, and be done
programatically?

I also found no reference to the BPLOG command in the softice reference
manual…