Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing
before softice start to run.Then when I restart my computer, My driver will
stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
In WinDBG, you can set a breakpoint that breaks the system as soon as the
kernel is loaded, it’s under the menu “Cycle Initial Breakpoint”.
I don’t use SoftICE, so I don’t know how to do it there.
I believe you can use SoftICE and WinDBG in parallel (but not at the same
time).
–
Mats
-----Original Message-----
From: lijp@sh.sct-grp.com [mailto:lijp@sh.sct-grp.com]
Sent: Tuesday, March 23, 2004 8:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing
before softice start to run.Then when I restart my computer, My driver will
stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@3dlabs.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
If you do not reach the breakpoint before SoftICE loads you can set a hardcoded INT 3.
Just place an INT 3 in your code at the place you want to stop. (Be sure SoftICE has INT3Here active).
-----Mensaje original-----
De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
Enviado el: martes, 23 de marzo de 2004 9:51
Para: Windows System Software Devs Interest List
Asunto: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing before softice start to run.Then when I restart my computer, My driver will stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to xxxxx@lists.osr.com
Or you can define breakpoint in SoftIce’s init string using bpx command, you can also specify the symbols that load with Softice.
Be sure that softice starts before your driver.
Attila
-----Original Message-----
From: Inaki Castillo [mailto:xxxxx@pandasoftware.es]
Sent: Tuesday, March 23, 2004 16:34
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How can I set a breakpoint before softice started?
If you do not reach the breakpoint before SoftICE loads you can set a hardcoded INT 3.
Just place an INT 3 in your code at the place you want to stop. (Be sure SoftICE has INT3Here active).
-----Mensaje original-----
De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
Enviado el: martes, 23 de marzo de 2004 9:51
Para: Windows System Software Devs Interest List
Asunto: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing before softice start to run.Then when I restart my computer, My driver will stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@virusbuster.hu
To unsubscribe send a blank email to xxxxx@lists.osr.com
You can put the breakpoint in your Winice.dat file, by going into the
configuration in the SoftICE “General” section and changing the
Initialization String. For example, I’m right now debugging BoundsChecker,
and I want to stop at a specific point during the BoundsChecker init called
“SetupFrameArrays”. What I did was, I setup SoftICE to load BoundsChecker
symbols at SoftICE init time, and I set the Init String to be “table bchkd;
bpx SetupFrameArrays” and that sets the breakpoint up and stops at load time
so that I can take a quick look around. I then press F5, and if my code is
executed, the breakpoint gets enacted.
Alberto.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.
com]On Behalf Of Inaki Castillo
Sent: Tuesday, March 23, 2004 10:34 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] How can I set a breakpoint before softice started?
If you do not reach the breakpoint before SoftICE loads you can set a
hardcoded INT 3.
Just place an INT 3 in your code at the place you want to stop. (Be sure
SoftICE has INT3Here active).
-----Mensaje original-----
De: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.
com]
Enviado el: martes, 23 de marzo de 2004 9:51
Para: Windows System Software Devs Interest List
Asunto: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing
before softice start to run.Then when I restart my computer, My driver will
stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@pandasoftware.es
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
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.
Use WinDbg for this.
Debugging the boot paths in SoftICE requires some alchemy with IcePack or such. In WinDbg, this is as easy as the non-boot paths.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: SCT$B!KM{7uJ?(B
To: Windows System Software Devs Interest List
Sent: Tuesday, March 23, 2004 11:50 AM
Subject: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing before softice start to run.Then when I restart my computer, My driver will stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Use SoftICE for this.
You need to use IcePack if you change the order SoftICE is loaded and you
need symbols at that early stage. You only need to change the order SoftICE
is loaded in a few cases, . The procedure is easy enough and if you have any
trouble with it, Doug Johnson is reachable at xxxxx@compuware.com
mailto:xxxxx and he will help you to do it.
Alberto.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.
com]On Behalf Of Maxim S. Shatskih
Sent: Tuesday, March 23, 2004 2:07 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How can I set a breakpoint before softice started?
Use WinDbg for this.
Debugging the boot paths in SoftICE requires some alchemy with IcePack
or such. In WinDbg, this is as easy as the non-boot paths.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com mailto:xxxxx
http://www.storagecraft.com http:
----- Original Message -----
From: SCT$B!KM{7uJ?(J mailto:lijp
To: Windows System Software Devs Interest mailto:xxxxx List
Sent: Tuesday, March 23, 2004 11:50 AM
Subject: [ntdev] How can I set a breakpoint before softice started?
Hello,Every one!
I am developing a file system filter driver, and I want to set a breakpoing
before softice start to run.Then when I restart my computer, My driver will
stop at the place where my breakpoint set!
Is this a Virtual breakpoint?How can I do this?
thank you!
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
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.</mailto:xxxxx></mailto:lijp></http:></mailto:xxxxx></mailto:xxxxx>