If anyone cares, I was in C++ expression mode, a
.expr /s masm
fixed it.
Matt
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N. White
Sent: Tuesday, March 09, 2004 9:57 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] Breakpoint question
Tried that, but same thing…
kd> bp mydriver!afile.c:1707
Syntax error at ‘mydriver!afile.c:1707
’
I am using source mode, and the strange thing is that
bp mydriver!AFunction
works just fine.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Douglas G. Hanley
Sent: Tuesday, March 09, 2004 6:21 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] Breakpoint question
I think you will need to prefix the source file thusly;
bp yourdriver!afile.c:1714
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Matthew N.
White
Sent: 08 March 2004 21:45
To: Kernel Debugging Interest List
Subject: [windbg] Breakpoint question
Hi all,
This may be (I’m almost sure of it) a really stupid question, but
I’m
trying to set a breakpoint using windbg at a specific source code line
number using this command:
bp afile.c:1714
All I get is this:
Syntax error at ‘afile.c:1714
’
To me this is formatted exactly like an example in the “Using
Breakpoints” section of the Debugging tools for windows documentation.
What am I doing wrong here?
Thanks,
Matt
You are currently subscribed to windbg as:
xxxxx@neverfailgroup.com To unsubscribe send a blank email to
xxxxx@lists.osr.com
You are currently subscribed to windbg as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
You are currently subscribed to windbg as: xxxxx@bitarmor.com To unsubscribe
send a blank email to xxxxx@lists.osr.com