Debug Messages in win95

Hi,

I’m trying to debug my Ndis driver for win95.
The problem is that DbgPrint and DbgView does not work on Win95.

Can anyone please help me as to how I can get the debuggging messages on the
screen.

Can I setup SoftIce to do this, if so how ??
Any other program/call that can display debugging messages ?

Thanks,
Ramit.


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

Hello Ramit,

Softice can print debug messages for you and will do so. It is a bit
strange though - it does not print anything unless what you’re
printing is terminated with a new line…

That is
OutputDebugString(“This is a glorious morning\n”);
is displayed,
OutputDebugString(“This is a glorious morning”);
Is not…Atleast untill another string is displayed too.

Regards,
Anders Fogh

Sunday, March 18, 2001, 3:31:52 AM, you wrote:

RB> Hi,

RB> I’m trying to debug my Ndis driver for win95.
RB> The problem is that DbgPrint and DbgView does not work on Win95.

RB> Can anyone please help me as to how I can get the debuggging messages on the
RB> screen.

RB> Can I setup SoftIce to do this, if so how ??
RB> Any other program/call that can display debugging messages ?

RB> Thanks,
RB> Ramit.

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


Best regards,
Anders mailto:xxxxx@flaffer.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

> The problem is that DbgPrint and DbgView does not work on Win95.

Can anyone please help me as to how I can get the debuggging messages on
the
screen.

Add additional \r\n to the end of each trace message.

Max


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

I tried this also, but DbgView doesn’t seem to capturing any messages in
win95.
I’ve downloded the latest DbgView for win9x and also installed the patch
from the microsoft site for Win95 as reccomended by DbgView Readme.

Also, I cannot compile an NDIS driver with DebugOutputString, it gives an
error, I don’t think the NDIS library supports this function.

Any suggestions??

Thanks,
Ramit.
----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Sunday, March 18, 2001 9:48 PM
Subject: [ntdev] Re: Debug Messages in win95

> > The problem is that DbgPrint and DbgView does not work on Win95.
> >
> > Can anyone please help me as to how I can get the debuggging messages on
> the
> > screen.
>
> Add additional \r\n to the end of each trace message.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.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

> Also, I cannot compile an NDIS driver with DebugOutputString, it gives an

error, I don’t think the NDIS library supports this function.

Use KdPrint instead.

Max


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

Thanks Max,
I tried that it doesn’t seem to work, infact it’s just #defined to DbgPrint
in Ntddk.h

anyone any ideas’ please, it gettin tough here on win95 without debug
messages from NDIS.

thanks
Ramit.
----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Monday, March 19, 2001 9:34 PM
Subject: [ntdev] Re: Debug Messages in win95

> > Also, I cannot compile an NDIS driver with DebugOutputString, it gives
an
> > error, I don’t think the NDIS library supports this function.
>
> Use KdPrint instead.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@wipro.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