Re: WinDBG, doesn't support kernel debugging?

From: Gary G. Little (gglittle_at_sbcglobal.net)
Date: 10/03/04


Date: Sun, 03 Oct 2004 17:13:31 GMT

Personally, I would not want to debug my drivers on the same machine I use
to develope them. I have always debugged using a target and host set up, and
find it a MUCH safer environment than a single environment. To many times
have I had a bad crash that hosed the targets OS leading to a complete
reformat and install. Not to mention that installing and uninstalling
drivers can proliferate trash throughout the registry, eventually leading to
a crash and possible format and install. I prefer debugging my drivers using
serial or 1394 to a target to protect my development environment. Also, my
target has an 80gig FAT32 disc that has several pre-canned OS environments
such as 2K, XP, and Server 2003 allowing me to refresh a corrupted boot disc
or switch to another environment quickly for testing. Those precanned
environments are vanilla with only the minimum drivers added for runtime.
This allows a relatively quick restore capability to allow testing an
install on a clean system.

For what I have to pay for softice, I can purchase a cheap dual processor
system for a target.

-- 
Gary G. Little
"Vipin" <vipin@nospam.com> wrote in message 
news:%23CsqN8JqEHA.340@TK2MSFTNGP10.phx.gbl...
> Gary,
>
> I meant you can't do KM debugging on a single machine.
>
> "Vipin" <vipin@nospam.com> wrote in message
> news:eObDg0JqEHA.3172@TK2MSFTNGP10.phx.gbl...
>> But with windbg you can do kernel debugging on the same machine. That's
> what
>> I meant
>>
>>
>> "Gary G. Little" <gglittle.nospam@sbcglobal.net> wrote in message
>> news:nFc7d.475$Lk3.114@newssvr12.news.prodigy.com...
>> > They have ... it's called WinDbg.
>> >
>> > --
>> > The personal opinion of
>> > Gary G. Little
>> >
>> > "Vipin" <vipin@nospam.com> wrote in message
>> > news:%23I7cvL5pEHA.3244@tk2msftngp13.phx.gbl...
>> > > what I don't understand is why microsoft can't come up with something
>> like
>> > > softice? Softice is damn costly for developers to purchase.And once 
>> > > we
>> are
>> > > done with the development at office or on a particular project for
> which
>> > we
>> > > have softice license, we can't use for any other purpose.I used to
> work
>> on
>> > > project for which they had softice license,but once I moved out of 
>> > > the
>> > > project, I can't use softice. Why doesn't MS come with a free 
>> > > debugger
>> of
>> > > the same style?
>> > >
>> > > "Pat [MSFT]" <patfilot@online.microsoft.com> wrote in message
>> > > news:uZYh97EpEHA.2684@TK2MSFTNGP11.phx.gbl...
>> > > > The error message is stating that WinXP is the minimum for doing
>> 'live'
>> > > > local kernel debugging, not that WinDBG can't do it.  I doubt that
>> > 'live'
>> > > is
>> > > > what you want to do anyway since it is fairly limited (e.g. you
> can't
>> > set
>> > > a
>> > > > break point).  You would get a much better learning experince
>> debugging
>> > > > across 2 machines (so you can set break points, follow program 
>> > > > flow,
>> > > etc.).
>> > > >
>> > > >
>> > > > pat
>> > > >
>> > > > "Harry Potter" <hpotter@azkabar.com> wrote in message
>> > > > news:uaAVsyApEHA.596@TK2MSFTNGP11.phx.gbl...
>> > > > > Hi guys,
>> > > > > I'm trying to debug the sample IM drivers Passthru from Microsoft
>> > > > > samples.... I assume this is a kernel mode driver and therefore
>> trying
>> > > to
>> > > > > use the kernel mode debugging of the windbg on same local
> machine...
>> > but
>> > > I
>> > > > > get the following error... what am I doing wrong???? Please note
>> that
>> > > I'm
>> > > > > running on windows 2000....
>> > > > >
>> > > > > Microsoft (R) Windows Debugger  Version 6.3.0017.0
>> > > > > Copyright (c) Microsoft Corporation. All rights reserved.
>> > > > >
>> > > > > The system does not support local kernel debugging.
>> > > > > Local kernel debugging requires Windows XP, Administrative
>> > > > > privileges, and is not supported by WOW64.
>> > > > > Debuggee initialization failed, HRESULT 0x80004001
>> > > > >    "Not implemented"
>> > > > >
>> > > > > doesn't this feature supported on win 2000 pro??? what should I 
>> > > > > do
>> > > then???
>> > > > > I have the administrative privilege on my own pc.
>> > > > > thank you...
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
>
> 


Relevant Pages

  • Re: WinDBG, doesnt support kernel debugging?
    ... I would not want to debug my drivers on the same machine I use ... serial or 1394 to a target to protect my development environment. ... For what I have to pay for softice, I can purchase a cheap dual processor ... > I meant you can't do KM debugging on a single machine. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Windbg or SoftIce?
    ... I am using a VMware virtual machine as my target. ... SoftIce is always behind when it comes to Beta ... > versions of windows so if you are debugging betas forget it. ... >> Which is better for kernel mode driver debugging - Windbg or SoftIce? ...
    (microsoft.public.development.device.drivers)
  • Re: ethercons: ethernet console driver for 5-current
    ... > To support ethernet debugging, the debugger would need to be able to drive ... > had these additional debugging interfaces. ... > implementation in the network debugger, ... > Apple has the advantage, though, of providing very few ethernet drivers. ...
    (freebsd-current)
  • Re: Transmeta Crusoe + Hitachi Microdrive = no good?
    ... > understand the problem -not just fix it. ... image to smalest working/non-working image without any extra drivers. ... Slobodan ... > Debugging with Windbg shows that XPe hangs at CLASSPNP.SYS, ...
    (microsoft.public.windowsxp.embedded)
  • Re: Activesync CE 6.0 RS232
    ... When we manually execute repllog on the target with debugging disabled, ... We are enabling and disabling debugging information by modifying the ...
    (microsoft.public.windowsce.platbuilder)