about KeBugCheckEx

When my driver find one error,I call KeBugCheckEx to stop the system and
print some debug infomation.This works well on windows2000,but when I call
KeBugCheckEx on windowsXP the system is immediately rebooted and I can’t see
my debug information.How can I use KeBugCheckEx without causing system to
reboot on windowsXP. Thanks all…

First of all, get yourself a debugger, like WinDBG and connect it to the
machine. I beleive it’s included in the DDK, but you can get it from the
Microsoft Website if you haven’t got the DDK disk(s) handy.

Second, there’s a setting in Control Panel:
System
Advanced
Startup & Recovery
Settings

Under the heading “System failure”, there’s a tick-box that says
“Automatically restart”. Uncheck this box, and you should be able to see
what the blue-screen says.

But using a debugger will allow a whole lot more debugging, like setting
breakpoints, single stepping lines of source code, as well as when/if you
hit a Bugcheck (whether your own or a system generated one), you can look at
the stack and figure out what was happening when the Bugcheck happened.

I hope this helps.


Mats

-----Original Message-----
From: 777 [mailto:xxxxx@3ming.net]
Sent: Monday, January 05, 2004 11:18 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] about KeBugCheckEx

When my driver find one error,I call KeBugCheckEx to stop the
system and
print some debug infomation.This works well on
windows2000,but when I call
KeBugCheckEx on windowsXP the system is immediately rebooted
and I can’t see
my debug information.How can I use KeBugCheckEx without
causing system to
reboot on windowsXP. Thanks all…


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

777,???ã?

use softice to view the error

======= 2004-01-05 19:18:00 ???д???=======

When my driver find one error,I call KeBugCheckEx to stop the system and
print some debug infomation.This works well on windows2000,but when I call
KeBugCheckEx on windowsXP the system is immediately rebooted and I can’t see
my debug information.How can I use KeBugCheckEx without causing system to
reboot on windowsXP. Thanks all…


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

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

= = = = = = = = = = = = = = = = = = = =

???
???

???wowocock
???xxxxx@citiz.net
???2004-01-05

Any NT has a setting to auto-reboot on bugchecks, look at System property
sheet.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “777”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, January 05, 2004 2:18 PM
Subject: [ntdev] about KeBugCheckEx

> When my driver find one error,I call KeBugCheckEx to stop the system and
> print some debug infomation.This works well on windows2000,but when I call
> KeBugCheckEx on windowsXP the system is immediately rebooted and I can’t see
> my debug information.How can I use KeBugCheckEx without causing system to
> reboot on windowsXP. Thanks all…
>
>
>
> —
> 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