How to turn off embedded breakpoints in WinDbg?

Hi all,

I am just transitioning from doing driver development on 98 with SoftICE to
NT with WinDbg, and I’m having great success, except for one feature of
SoftICE that I just can’t find in the 'bag. Maybe you all have some ideas.

In SoftICE, I can tell it to ignore embedded int 1 and int 3 instructions,
which enables me to embed breakpoints in frequently called routines without
undue trauma. After I have seen the routines I’m observing execute as many
times as I want, I turn the ints off, and run to boot completion without any
additional input, unless I manually break in. I’d really like to do this in
the 'bag, but I haven’t been able to find anything like that. Any
suggestions?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab

Are you talking about dynamic breakpoints which you can insert using the
“F9” key.

Mark J. Cariddi
Consulting Associate
Open Systems Resources, Inc.
http:\www.osr.com
-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 1:37 PM
To: NT Developers Interest List
Subject: [ntdev] How to turn off embedded breakpoints in WinDbg?

Hi all,

I am just transitioning from doing driver development on 98 with SoftICE to
NT with WinDbg, and I’m having great success, except for one feature of
SoftICE that I just can’t find in the 'bag. Maybe you all have some ideas.

In SoftICE, I can tell it to ignore embedded int 1 and int 3 instructions,
which enables me to embed breakpoints in frequently called routines without
undue trauma. After I have seen the routines I’m observing execute as many
times as I want, I turn the ints off, and run to boot completion without any
additional input, unless I manually break in. I’d really like to do this in
the 'bag, but I haven’t been able to find anything like that. Any
suggestions?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab


You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

When a breakpoint it hit it acts just like an exception, and therefore
you can control hardcoded breakpoints the same way you would execptions.
The command would be:
sxd bpe

Look at the docs at the sx* commands. You can even associate commands
with exceptions to get a conditional filtering of hardcoded breakpoints.

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 10:37 AM
To: NT Developers Interest List
Subject: [ntdev] How to turn off embedded breakpoints in WinDbg?

Hi all,

I am just transitioning from doing driver development on 98 with SoftICE
to
NT with WinDbg, and I’m having great success, except for one feature of
SoftICE that I just can’t find in the 'bag. Maybe you all have some
ideas.

In SoftICE, I can tell it to ignore embedded int 1 and int 3
instructions,
which enables me to embed breakpoints in frequently called routines
without
undue trauma. After I have seen the routines I’m observing execute as
many
times as I want, I turn the ints off, and run to boot completion without
any
additional input, unless I manually break in. I’d really like to do
this in
the 'bag, but I haven’t been able to find anything like that. Any
suggestions?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Mark,

I was talking about INT 1 and INT 3. Nothing dynamic about them. Nathan
explained the proper handling in the next message posted to this thread.

Thanks for the response, though.

Phil

-----Original Message-----
From: Mark Cariddi [mailto:xxxxx@osr.com]
Sent: Monday, November 27, 2000 10:48 AM
To: NT Developers Interest List
Subject: [ntdev] RE: How to turn off embedded breakpoints in WinDbg?

Are you talking about dynamic breakpoints which you can insert using the
“F9” key.

Mark J. Cariddi
Consulting Associate
Open Systems Resources, Inc.
http:\www.osr.com
-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 1:37 PM
To: NT Developers Interest List
Subject: [ntdev] How to turn off embedded breakpoints in WinDbg?

Hi all,

I am just transitioning from doing driver development on 98 with SoftICE to
NT with WinDbg, and I’m having great success, except for one feature of
SoftICE that I just can’t find in the 'bag. Maybe you all have some ideas.

In SoftICE, I can tell it to ignore embedded int 1 and int 3 instructions,
which enables me to embed breakpoints in frequently called routines without
undue trauma. After I have seen the routines I’m observing execute as many
times as I want, I turn the ints off, and run to boot completion without any
additional input, unless I manually break in. I’d really like to do this in
the 'bag, but I haven’t been able to find anything like that. Any
suggestions?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab


You are currently subscribed to ntdev as: xxxxx@osr.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Nathan,

Thank you, that’s exactly what I was looking for.

Phil

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@Exchange.Microsoft.com]
Sent: Monday, November 27, 2000 11:07 AM
To: NT Developers Interest List
Cc: xxxxx@intel.com
Subject: RE: [ntdev] How to turn off embedded breakpoints in WinDbg?

When a breakpoint it hit it acts just like an exception, and therefore you
can control hardcoded breakpoints the same way you would execptions. The
command would be:
sxd bpe

Look at the docs at the sx* commands. You can even associate commands with
exceptions to get a conditional filtering of hardcoded breakpoints.

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Monday, November 27, 2000 10:37 AM
To: NT Developers Interest List
Subject: [ntdev] How to turn off embedded breakpoints in WinDbg?

Hi all,

I am just transitioning from doing driver development on 98 with SoftICE to
NT with WinDbg, and I’m having great success, except for one feature of
SoftICE that I just can’t find in the 'bag. Maybe you all have some ideas.

In SoftICE, I can tell it to ignore embedded int 1 and int 3 instructions,
which enables me to embed breakpoints in frequently called routines without
undue trauma. After I have seen the routines I’m observing execute as many
times as I want, I turn the ints off, and run to boot completion without any
additional input, unless I manually break in. I’d really like to do this in
the 'bag, but I haven’t been able to find anything like that. Any
suggestions?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Storage Architecture and Performance
* Internet Systems Lab


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)