Hi All,
I can’t use winDbg because I have only one computer.
How to debug driver program on one computer?
regards:
sailing_an
Hi All,
I can’t use winDbg because I have only one computer.
How to debug driver program on one computer?
regards:
sailing_an
Use DbgView utility provided by Sysinternals
Try SoftIce
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@indiatimes.com
Sent: Friday, June 27, 2003 12:32 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?
Use DbgView utility provided by Sysinternals
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
But, buy the time you pay $900 for Softice you can save $300 by simply
buying another computer for $600 and using WinDbg.
–
Gary G. Little
“Jamey Kirby” wrote in message news:xxxxx@ntfsd…
>
> Try SoftIce
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@indiatimes.com
> Sent: Friday, June 27, 2003 12:32 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> Use DbgView utility provided by Sysinternals
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
And when you are at a client site trying to debug, you have to go and
find a extra machine, configure it and then debug. No thanks, I will
stick with SoftIce for these situations.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Friday, June 27, 2003 8:42 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?
But, buy the time you pay $900 for Softice you can save $300 by simply
buying another computer for $600 and using WinDbg.
–
Gary G. Little
“Jamey Kirby” wrote in message
news:xxxxx@ntfsd…
>
> Try SoftIce
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@indiatimes.com
> Sent: Friday, June 27, 2003 12:32 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> Use DbgView utility provided by Sysinternals
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Of course when your test system crashes or needs to be rebooted
because the driver is messed up, you cannot be fixing the problem
on the developement system because they are one and the same.
Worse yet since this is on the filesystem list, if your filter corrupts
your disk, you can really loose. Also, if you are debugging with a
Microsoft beta version of the OS, good luck since there won;t be
a working version of softice yet. You can buy a laptop for the
price of SoftIce these days.
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Friday, June 27, 2003 1:52 PM
Subject: [ntfsd] Re: How to debug driver program on one computer?
> And when you are at a client site trying to debug, you have to go and
> find a extra machine, configure it and then debug. No thanks, I will
> stick with SoftIce for these situations.
>
> Jamey
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
> Sent: Friday, June 27, 2003 8:42 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> But, buy the time you pay $900 for Softice you can save $300 by simply
> buying another computer for $600 and using WinDbg.
>
>
> –
> Gary G. Little
>
> “Jamey Kirby” wrote in message
> news:xxxxx@ntfsd…
> >
> > Try SoftIce
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of
> > xxxxx@indiatimes.com
> > Sent: Friday, June 27, 2003 12:32 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Re: How to debug driver program on one computer?
> >
> > Use DbgView utility provided by Sysinternals
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com
Hrmm, what are laptops for then? With each successive rev of SoftIce,
Compuware is making the installation process an even more nail-pulling
experience. V3.0 requires a license file now in addition to the serial
number.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Friday, June 27, 2003 10:53 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?And when you are at a client site trying to debug, you have
to go and find a extra machine, configure it and then debug.
No thanks, I will stick with SoftIce for these situations.Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On > Behalf Of Gary G.
Little
Sent: Friday, June 27, 2003 8:42 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?But, buy the time you pay $900 for Softice you can save $300
by simply buying another computer for $600 and using WinDbg.–
Gary G. Little“Jamey Kirby” wrote in message
news:xxxxx@ntfsd…
>
> Try SoftIce
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@indiatimes.com
> Sent: Friday, June 27, 2003 12:32 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> Use DbgView utility provided by Sysinternals
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Laptops are for lots of things. I doubt Dell will give you the debugging
sales pitch when you call to order a laptop though; just a hunch.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nick Ryan
Sent: Friday, June 27, 2003 11:04 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?
Hrmm, what are laptops for then? With each successive rev of SoftIce,
Compuware is making the installation process an even more nail-pulling
experience. V3.0 requires a license file now in addition to the serial
number.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Friday, June 27, 2003 10:53 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?And when you are at a client site trying to debug, you have
to go and find a extra machine, configure it and then debug.
No thanks, I will stick with SoftIce for these situations.Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On > Behalf Of Gary G.
Little
Sent: Friday, June 27, 2003 8:42 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?But, buy the time you pay $900 for Softice you can save $300
by simply buying another computer for $600 and using WinDbg.–
Gary G. Little“Jamey Kirby” wrote in message
news:xxxxx@ntfsd…
>
> Try SoftIce
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@indiatimes.com
> Sent: Friday, June 27, 2003 12:32 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> Use DbgView utility provided by Sysinternals
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I am not saying WindBag is bad, I use them both. There are times that SI
is a better solution and there are times that WindBag is a better
solution.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Nick Ryan
Sent: Friday, June 27, 2003 11:04 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?
Hrmm, what are laptops for then? With each successive rev of SoftIce,
Compuware is making the installation process an even more nail-pulling
experience. V3.0 requires a license file now in addition to the serial
number.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Friday, June 27, 2003 10:53 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?And when you are at a client site trying to debug, you have
to go and find a extra machine, configure it and then debug.
No thanks, I will stick with SoftIce for these situations.Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On > Behalf Of Gary G.
Little
Sent: Friday, June 27, 2003 8:42 AM
To: File Systems Developers
Subject: [ntfsd] Re: How to debug driver program on one computer?But, buy the time you pay $900 for Softice you can save $300
by simply buying another computer for $600 and using WinDbg.–
Gary G. Little“Jamey Kirby” wrote in message
news:xxxxx@ntfsd…
>
> Try SoftIce
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of
> xxxxx@indiatimes.com
> Sent: Friday, June 27, 2003 12:32 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> Use DbgView utility provided by Sysinternals
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I can setup target computer in several minutes. If you do kernel debugging
regularily you can make a disk image. Restoring an image takes just several
minutes. And SoftIce installation makes me mad. And indeed, if your driver
destroys some data, your working system gets dead. And a good rule is to
never run your programs on work computer. Even if you write user mode
modules (especially services). And I can buy a computer for just $400.
-htfv
----- Original Message -----
From: “Jamey Kirby”
To: “File Systems Developers”
Sent: Friday, June 27, 2003 8:52 PM
Subject: [ntfsd] Re: How to debug driver program on one computer?
> And when you are at a client site trying to debug, you have to go and
> find a extra machine, configure it and then debug. No thanks, I will
> stick with SoftIce for these situations.
>
> Jamey
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
> Sent: Friday, June 27, 2003 8:42 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: How to debug driver program on one computer?
>
> But, buy the time you pay $900 for Softice you can save $300 by simply
> buying another computer for $600 and using WinDbg.
>
>
> –
> Gary G. Little
>
> “Jamey Kirby” wrote in message
> news:xxxxx@ntfsd…
> >
> > Try SoftIce
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of
> > xxxxx@indiatimes.com
> > Sent: Friday, June 27, 2003 12:32 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Re: How to debug driver program on one computer?
> >
> > Use DbgView utility provided by Sysinternals
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> ----------
From: xxxxx@vba.com.by[SMTP:xxxxx@vba.com.by]
Reply To: xxxxx@lists.osr.com
Sent: Friday, June 27, 2003 9:55 PM
To: xxxxx@lists.osr.com
Subject: [ntfsd] Re: How to debug driver program on one computer?I can setup target computer in several minutes. If you do kernel debugging
regularily you can make a disk image. Restoring an image takes just
several
minutes. And SoftIce installation makes me mad. And indeed, if your driver
destroys some data, your working system gets dead. And a good rule is to
never run your programs on work computer. Even if you write user mode
modules (especially services). And I can buy a computer for just $400.
SMP computer? Doubts. Target computer for driver development should be
always SMP to debug spinlock problems. Of course, you can use cheap
development machine but it is uncomfortable. I prefer SMP machines also as
user so one machine development is a solution. Well, I don’t want to start a
flamewar, it is everybody’s personal decision.
As for running programs on work computer… within last 7 years I developed
a lot of NT drivers and services this way and never had a serious problem.
It needs some coding discipline and experience and use System Internals Sync
utility regularly, before any new driver load or potentially dangerous test.
I worried only when developed FS filter and cloned drive using ghost every
day (to the next local one). BTW, it is the fastest and the best
defragmentation
On the contrary I believe developers should run their software on their
computers and use it for everydays work. It forces them to write better
code. I have always several my drivers loaded and when a problem occurs,
assertion failure pop-up SoftICE and I have to solve it immediatelly.
Back to original problem: one computer debugging is possible several ways
now. SoftICE is one possibility. The next is good traces and DbgView or
another debug print monitor. WinDbg allows to examine kernel memory state
and run KD extensions locally; it isn’t real debugging but can be helpful
sometimes. VMware is also good solution, it has most advantages of one
computer debugging and is safe. 4.0 version with snapshot feature allows
easily restore virtual machine to known state. I haven’t tested it with
WinDbg but it works well with Driver Studio 3.0. I ported XP FS filter to
w2k with Visual SoftICE connected using local network to VMware machine and
it worked like a charm. With w9x it is worse; it can be used but with real
care. I just debug a VxD using null modem cable which connect virtual
machine to real one and siremote utility. Works but freezes often which make
work annoying. However, not so annoying as boot and use real windos.
Best regards,
Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]