Debugger

I hate to sound naive, but I’m running into a little problem that I thought someone here might have a clue.

I have a sample application that drives a driver. This application whenever it GP Faults (which is what I’m debugging) pops up a dialog box that says “GP fault in KERNEL32.DLL” and then gives a couple of buttons to push to launch the Visual Studio debugger…which I DON’T want to use. I want it to trip SoftIce! (I know that I railed on SoftIce but the Visual Studio debugger won’t let me trace into “system DLLs”) so I’m kind of stuck.

Does anyone have any idea how I can stop that annoying GP fault dialog box and force the fault directly into SoftIce? I’m using a retail build of the app and corresponding DLLs…

Thanks in advance.

Thomas “Rick” Tewell
Ligos Corporation


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

“FAULTS ON”
----- Original Message -----
From: Thomas “Rick” Tewell
To: NT Developers Interest List
Sent: Friday, June 01, 2001 4:21 AM
Subject: [ntdev] Debugger

I hate to sound naive, but I’m running into a little problem that I thought someone here might have a clue.

I have a sample application that drives a driver. This application whenever it GP Faults (which is what I’m debugging) pops up a dialog box that says “GP fault in KERNEL32.DLL” and then gives a couple of buttons to push to launch the Visual Studio debugger…which I DON’T want to use. I want it to trip SoftIce! (I know that I railed on SoftIce but the Visual Studio debugger won’t let me trace into “system DLLs”) so I’m kind of stuck.

Does anyone have any idea how I can stop that annoying GP fault dialog box and force the fault directly into SoftIce? I’m using a retail build of the app and corresponding DLLs…

Thanks in advance.

Thomas “Rick” Tewell
Ligos Corporation

You are currently subscribed to ntdev as: danp@jb.rdsor.ro
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>“FAULTS ON”

Been there…done that…no effect. First thing I tried after I saw the dialog. Apparently there is a structured exception handler installed that is popping up that dialog. Could be the COM library I’m compiling against… The utility relies on COM components and I’m pretty sure that this is a “first chance” exception handler that is grabbing the fault and popping the dialog… I sure do want to turn it off though…

Thomas “Rick” Tewell
Ligos Corporation


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

There’s a registry entry you can change to your preferred debugger.
Simply go to “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug”
and change the ‘Debugger’ value. You can also change the ‘Auto’ value to
0 if you just want a message or 1 if you want both a message and the
option to use your debugger.

Needless to say, whenever you change the registry, you do so at your own
risk.

Regards,

Youssef

-----Original Message-----
From: Thomas “Rick” Tewell [mailto:rick@1394.com]
Sent: Thursday, May 31, 2001 6:21 PM
To: NT Developers Interest List
Subject: [ntdev] Debugger

I hate to sound naive, but I’m running into a little problem that I
thought someone here might have a clue.

I have a sample application that drives a driver. This application
whenever it GP Faults (which is what I’m debugging) pops up a dialog box
that says “GP fault in KERNEL32.DLL” and then gives a couple of buttons
to push to launch the Visual Studio debugger…which I DON’T want to
use. I want it to trip SoftIce! (I know that I railed on SoftIce but
the Visual Studio debugger won’t let me trace into “system DLLs”) so I’m
kind of stuck.

Does anyone have any idea how I can stop that annoying GP fault dialog
box and force the fault directly into SoftIce? I’m using a retail build
of the app and corresponding DLLs…

Thanks in advance.

Thomas “Rick” Tewell

Ligos Corporation


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Ok… Attempt #2 to reply…

Did you try removing (renaming) the “AeDebug” key in the registry? This key normally gets set to pop up DevStudio during a fault.

The key path is: HKLM\Software\Microsoft\WIndows NT\CurrentVersion\AeDebug

Just a thought.

Rick


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

And of course , a system level debugger like Softice will be very impresionated by that registry setting change …

----- Original Message -----
From: Youssef Barakat
To: NT Developers Interest List
Sent: Friday, June 01, 2001 6:34 PM
Subject: [ntdev] RE: Debugger

There’s a registry entry you can change to your preferred debugger. Simply go to “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug” and change the ‘Debugger’ value. You can also change the ‘Auto’ value to 0 if you just want a message or 1 if you want both a message and the option to use your debugger.

Needless to say, whenever you change the registry, you do so at your own risk.

Regards,

Youssef

-----Original Message-----
From: Thomas “Rick” Tewell [mailto:rick@1394.com]
Sent: Thursday, May 31, 2001 6:21 PM
To: NT Developers Interest List
Subject: [ntdev] Debugger

I hate to sound naive, but I’m running into a little problem that I thought someone here might have a clue.

I have a sample application that drives a driver. This application whenever it GP Faults (which is what I’m debugging) pops up a dialog box that says “GP fault in KERNEL32.DLL” and then gives a couple of buttons to push to launch the Visual Studio debugger…which I DON’T want to use. I want it to trip SoftIce! (I know that I railed on SoftIce but the Visual Studio debugger won’t let me trace into “system DLLs”) so I’m kind of stuck.

Does anyone have any idea how I can stop that annoying GP fault dialog box and force the fault directly into SoftIce? I’m using a retail build of the app and corresponding DLLs…

Thanks in advance.

Thomas “Rick” Tewell

Ligos Corporation


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: danp@jb.rdsor.ro
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

>> Thomas Tewell wrote:

> “I sure do want to turn it off though…”

My suggestion works for that.

Regards,

Youssef

-----Original Message-----
From: Dan Partelly [mailto:danp@jb.rdsor.ro]
Sent: Friday, June 01, 2001 8:57 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Debugger

And of course , a system level debugger like Softice will be very
impresionated by that registry setting change …

----- Original Message -----

From: Youssef Barakat mailto:xxxxx

To: NT Developers Interest List mailto:xxxxx

Sent: Friday, June 01, 2001 6:34 PM

Subject: [ntdev] RE: Debugger

There’s a registry entry you can change to your preferred
debugger. Simply go to “HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\AeDebug” and change the ‘Debugger’ value. You can also
change the ‘Auto’ value to 0 if you just want a message or 1 if you want
both a message and the option to use your debugger.

Needless to say, whenever you change the registry, you do so at
your own risk.

Regards,

Youssef

-----Original Message-----
From: Thomas “Rick” Tewell [mailto:rick@1394.com]
Sent: Thursday, May 31, 2001 6:21 PM
To: NT Developers Interest List
Subject: [ntdev] Debugger

I hate to sound naive, but I’m running into a little problem
that I thought someone here might have a clue.

I have a sample application that drives a driver. This
application whenever it GP Faults (which is what I’m debugging) pops up
a dialog box that says “GP fault in KERNEL32.DLL” and then gives a
couple of buttons to push to launch the Visual Studio debugger…which I
DON’T want to use. I want it to trip SoftIce! (I know that I railed on
SoftIce but the Visual Studio debugger won’t let me trace into “system
DLLs”) so I’m kind of stuck.

Does anyone have any idea how I can stop that annoying GP fault
dialog box and force the fault directly into SoftIce? I’m using a retail
build of the app and corresponding DLLs…

Thanks in advance.

Thomas “Rick” Tewell

Ligos Corporation


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: danp@jb.rdsor.ro
To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</mailto:xxxxx></mailto:xxxxx>