How to set BP via Kernel Debugger.

Thank you for your help. I can set BP via windbg now :slight_smile:
(I mistook the title of this email, so now I changed correct title.)

One more question.

I set BP for !SnmpExtensionIni (at 1000fcb0).
But I got the following messages… It seems that debugger doesn’t break
at that point correctly…

kd> g
Unable to insert breakpoint 0 at 1000fcb0, NTSTATUS 0xC0000001
“{”
bp0 at 1000fcb0 failed
WaitForEvent failed
nt!DebugService+15:
8013ada7 8945fc mov [ebp-0x4],eax
kd> kv
ChildEBP RetAdd

Any idea?

Thanks in advance,
Kimi

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, April 02, 2002 12:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: New Kernel Debugger Extension List.

When debugging UM code via KD you need to be mindful what process
context you are in. It sounds like you are in the wrong process, and
that process does not have the modules you are interesting in loaded.

Check out “.process” in the docs to learn how to change the “current”
process. Once in the right process these commands should work fine.

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]

Sent: Monday, April 01, 2002 7:09 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: New Kernel Debugger Extension List.

Hi,

I want to try to set BP when I do kernel mode debugging using via NULL
modem.
I can set BP in usermode debug, but I can’t set BP in kernel mode
debugging. How should I do?

(ex. I want to set BP some function when snmp.exe start at the system
boot.)
> x bhmon!* (network monitor agent) —> I can’t do that…
> bp !SnmpExtensionInit—> I can’t do that…

Any idea?

Thnaks
Kimi

—
You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

—
You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%