DebugPrint question

I am trying to find a nasty timing bug in my SCSI miniport driver
that can only be reproduced on a release machine. Softice disturbs to
timing enough to where I do not see it there either. I am trying to get the
DebugPrint output with Sysinternals DebugView but I cannot get the output.
Does anyone know what I need to do to get DebugPrint to work on a release
machine from the context of a SCSI miniport driver?

Sean O’Connor
Spectra Logic
Boulder, CO


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

Start a release build system with the debugger enabled, and a debugger
system running windbag attached by a serial cable. But that might screw up
your timing, also. Actually, I found that excessive DbgPrint() calls caused
trouble on the checked build of Win2K, and it’s possible that it was a
problem on other versions, I just didn’t exceed the threshold I did on
Win2K.

My guess is that your real problem with DebugPrint() is that it is a macro
that disappears completely in the Free build environment, so it isn’t going
to help you much if you are trying to debug a problem in the Free build.

Phil

-----Original Message-----
From: Sean O’Connor [mailto:xxxxx@spectralogic.com]
Sent: Friday, January 26, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] DebugPrint question

I am trying to find a nasty timing bug in my SCSI miniport driver
that can only be reproduced on a release machine. Softice disturbs to
timing enough to where I do not see it there either. I am trying to get the
DebugPrint output with Sysinternals DebugView but I cannot get the output.
Does anyone know what I need to do to get DebugPrint to work on a release
machine from the context of a SCSI miniport driver?

Sean O’Connor
Spectra Logic
Boulder, CO


You are currently subscribed to ntdev as: xxxxx@intel.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

You can use ScsiDebugPrint in a SCSI miniport driver if you wish to use the
level/msg format, and this will require that you use the checked build of scsiport
on the target system (but allow you to output dbg msgs in your free-build driver).
Alternatively, you can use DbgPrint statements in the driver, though this will
break SCSI miniport “rules” that specify that you only link with scsiport, so
you’ll have to change the project settings as necessary to make sure that DbgPrint
is resolved correctly.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Friday, January 26, 2001 1:09 PM
To: NT Developers Interest List
Subject: [ntdev] RE: DebugPrint question

Start a release build system with the debugger enabled, and a debugger
system running windbag attached by a serial cable. But that might screw up
your timing, also. Actually, I found that excessive DbgPrint() calls caused
trouble on the checked build of Win2K, and it’s possible that it was a
problem on other versions, I just didn’t exceed the threshold I did on
Win2K.

My guess is that your real problem with DebugPrint() is that it is a macro
that disappears completely in the Free build environment, so it isn’t going
to help you much if you are trying to debug a problem in the Free build.

Phil

-----Original Message-----
From: Sean O’Connor [mailto:xxxxx@spectralogic.com]
Sent: Friday, January 26, 2001 12:13 PM
To: NT Developers Interest List
Subject: [ntdev] DebugPrint question

I am trying to find a nasty timing bug in my SCSI miniport driver
that can only be reproduced on a release machine. Softice disturbs to
timing enough to where I do not see it there either. I am trying to get the
DebugPrint output with Sysinternals DebugView but I cannot get the output.
Does anyone know what I need to do to get DebugPrint to work on a release
machine from the context of a SCSI miniport driver?


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