Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

WinDbg support for Win9x

OSR_Community_UserOSR_Community_User Member Posts: 110,217
Hi,
I have always believed that WinDbg could not run on Win9x and could not
control a Win9x target. Today I was looking at the help for WinDbg
4.0.0018.0 and found this on the Introduction to debugging->Types of
Debugger->WinDbg page :

"Note On Windows 9x systems, WinDbg can only be used to debug user-mode
drivers and applications. This debugging must be done on two machines, with
the Windows 9x system as the target and WinDbg running on an NT-based
operating system."

Is this a documentation error or can WinDbg really control a WinDbg target?
If it can does any one know how to configure it and does it work well?

Yours
Roger

________________________________________________________________
Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:[email protected] www.powervr.com
________________________________________________________________

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Among others, WinDbg can be really used to remote debug user mode
    applications. To do this one WinDbg has to be started on the target machine
    as server, connected to the process you want to debug and a second one as
    client on the host machine. Look into the WinDbg help under
    "Using Debugging Tools for Windows / Debugger Operation / Remote Debugging /
    Remote Debugging Through the Debugger" for further details how to setup both
    debuggers in detail. The debug server and client may communicate via
    network, serial connection or Fire Wire.

    I don't know if this really works for Win9x targets. But I would believe
    what is written in the documentation.

    Good Luck
    Volker

    > -----Original Message-----
    > From: [email protected]
    > [mailto:[email protected]]On Behalf Of Roger Coote
    > Sent: Thursday, February 28, 2002 9:46 PM
    > To: Kernel Debugging Interest List
    > Subject: [windbg] WinDbg support for Win9x
    >
    >
    > Hi,
    > I have always believed that WinDbg could not run on Win9x and could not
    > control a Win9x target. Today I was looking at the help for WinDbg
    > 4.0.0018.0 and found this on the Introduction to debugging->Types of
    > Debugger->WinDbg page :
    >
    > "Note On Windows 9x systems, WinDbg can only be used to debug user-mode
    > drivers and applications. This debugging must be done on two
    > machines, with
    > the Windows 9x system as the target and WinDbg running on an NT-based
    > operating system."
    >
    > Is this a documentation error or can WinDbg really control a
    > WinDbg target?
    > If it can does any one know how to configure it and does it work well?
    >
    > Yours
    > Roger
    >
    > ________________________________________________________________
    > Roger Coote,
    > Senior Design Engineer
    > PowerVR Technologies, A Division of Imagination Technologies Ltd
    > Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
    > phone :+44 (1923) 260511 fax :+44 (1923) 268969
    > direct :+44 (1923) 277274
    > mailto:[email protected] www.powervr.com
    > ________________________________________________________________
    >
    >
    > ---
    > You are currently subscribed to windbg as: [email protected]
    > To unsubscribe send a blank email to %%email.unsub%%
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi,
    WinDbg will not install on Win9x so it cannot be a server on the Win9x
    target.

    Yours
    Roger

    ________________________________________________________________
    Roger Coote,
    Senior Design Engineer
    PowerVR Technologies, A Division of Imagination Technologies Ltd
    Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
    phone :+44 (1923) 260511 fax :+44 (1923) 268969
    direct :+44 (1923) 277274
    mailto:[email protected] www.powervr.com
    ________________________________________________________________



    -----Original Message-----
    From: Volker Moebius [mailto:[email protected]]
    Sent: 28 February 2002 23:02
    To: Kernel Debugging Interest List
    Subject: [windbg] RE: WinDbg support for Win9x


    Among others, WinDbg can be really used to remote debug user mode
    applications. To do this one WinDbg has to be started on the target machine
    as server, connected to the process you want to debug and a second one as
    client on the host machine. Look into the WinDbg help under
    "Using Debugging Tools for Windows / Debugger Operation / Remote Debugging /
    Remote Debugging Through the Debugger" for further details how to setup both
    debuggers in detail. The debug server and client may communicate via
    network, serial connection or Fire Wire.

    I don't know if this really works for Win9x targets. But I would believe
    what is written in the documentation.

    Good Luck
    Volker

    > -----Original Message-----
    > From: [email protected]
    > [mailto:[email protected]]On Behalf Of Roger Coote
    > Sent: Thursday, February 28, 2002 9:46 PM
    > To: Kernel Debugging Interest List
    > Subject: [windbg] WinDbg support for Win9x
    >
    >
    > Hi,
    > I have always believed that WinDbg could not run on Win9x and could not
    > control a Win9x target. Today I was looking at the help for WinDbg
    > 4.0.0018.0 and found this on the Introduction to debugging->Types of
    > Debugger->WinDbg page :
    >
    > "Note On Windows 9x systems, WinDbg can only be used to debug user-mode
    > drivers and applications. This debugging must be done on two
    > machines, with
    > the Windows 9x system as the target and WinDbg running on an NT-based
    > operating system."
    >
    > Is this a documentation error or can WinDbg really control a
    > WinDbg target?
    > If it can does any one know how to configure it and does it work well?
    >
    > Yours
    > Roger
    >
    > ________________________________________________________________
    > Roger Coote,
    > Senior Design Engineer
    > PowerVR Technologies, A Division of Imagination Technologies Ltd
    > Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
    > phone :+44 (1923) 260511 fax :+44 (1923) 268969
    > direct :+44 (1923) 277274
    > mailto:[email protected] www.powervr.com
    > ________________________________________________________________
    >
    >
    > ---
    > You are currently subscribed to windbg as: [email protected]
    > To unsubscribe send a blank email to %%email.unsub%%


    ---
    You are currently subscribed to windbg as: [email protected]
    To unsubscribe send a blank email to %%email.unsub%%
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    The docs are a little bit innacurate here.

    windbg does not install on win9x, and it's not tested on win9x, but it
    does work for user mode debugging on win9x (I know lots of people that use
    it).

    -Andre
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    At 21.45 28/02/2002, you wrote:
    >I have always believed that WinDbg could not run on Win9x and could not
    >control a Win9x target. Today I was looking at the help for WinDbg
    >4.0.0018.0 and found this on the Introduction to debugging->Types of
    >Debugger->WinDbg page :
    >
    >"Note On Windows 9x systems, WinDbg can only be used to debug user-mode
    >drivers and applications. This debugging must be done on two machines,
    >with the Windows 9x system as the target and WinDbg running on an NT-based
    >operating system."
    >
    >Is this a documentation error or can WinDbg really control a WinDbg target?

    Why not? user mode debugging is fully supported by the Win9x kernel, I
    would be surprised if WinDbg *didn't* work on Win9x. As long as you don't
    use named pipes for communication I see no limitation in Win9x to remote
    debugging (Win9x can't act as server end for named pipes)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Writing WDF Drivers 24 January 2022 Live, Online
Internals & Software Drivers 7 February 2022 Live, Online
Kernel Debugging 21 March 2022 Live, Online
Developing Minifilters 23 May 2022 Live, Online