How to debug driver on single machine?

Hi All,

I want to try writing file system filter driver. I have a little knowledge on writing device driver. Unfortunately I have only one machine, I know softice can provide kernel level debugging on the same development machine, I tried to install driver studio 2.7, but getting BSOD in ntoskrnl.exe while startup. Iam using WinXP, compuware driver studio 2.7.

I tried even in win2k, but no luck. Do anyone faced the same problem? Is there any other tool can replace softice?

rgds
GP.

If you have access to vmware us it. That will allow you to use windbg.
-Kiran
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of GnanaPrakash.R
Sent: Wednesday, December 24, 2003 3:44 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] How to debug driver on single machine?

Hi All,

I want to try writing file system filter driver. I have a little knowledge
on writing device driver. Unfortunately I have only one machine, I know
softice can provide kernel level debugging on the same development machine,
I tried to install driver studio 2.7, but getting BSOD in ntoskrnl.exe while
startup. Iam using WinXP, compuware driver studio 2.7.

I tried even in win2k, but no luck. Do anyone faced the same problem? Is
there any other tool can replace softice?

rgds
GP.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@calsoftinc.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Buy a second machine, trying to do any file system work in a single machine
configuration is idiocy of the highest level. You are way to likely to
corrupt your build tree, and the time wasted in boot to run the dev
environment, reboot to test cycle will more than pay the cost.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: GnanaPrakash.R
To: Windows File Systems Devs Interest List
Sent: Wednesday, December 24, 2003 5:13 AM
Subject: [ntfsd] How to debug driver on single machine?

Hi All,

I want to try writing file system filter driver. I have a little knowledge
on writing device driver. Unfortunately I have only one machine, I know
softice can provide kernel level debugging on the same development machine,
I tried to install driver studio 2.7, but getting BSOD in ntoskrnl.exe while
startup. Iam using WinXP, compuware driver studio 2.7.

I tried even in win2k, but no luck. Do anyone faced the same problem? Is
there any other tool can replace softice?

rgds
GP.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@acm.org
To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi,

I tend to agree with Don on this one. I used to use softice all the time as
my debugger but had no end of problems when I started to develop filter
drivers. As Don said, buy another machine. You will save so much time.

Ben

-----Original Message-----
From: Don Burn [mailto:xxxxx@acm.org]
Sent: 24 December 2003 13:45
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to debug driver on single machine?

Buy a second machine, trying to do any file system work in a single machine
configuration is idiocy of the highest level. You are way to likely to
corrupt your build tree, and the time wasted in boot to run the dev
environment, reboot to test cycle will more than pay the cost.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: GnanaPrakash.R
To: Windows File Systems Devs Interest List
Sent: Wednesday, December 24, 2003 5:13 AM
Subject: [ntfsd] How to debug driver on single machine?

Hi All,

I want to try writing file system filter driver. I have a little knowledge
on writing device driver. Unfortunately I have only one machine, I know
softice can provide kernel level debugging on the same development machine,
I tried to install driver studio 2.7, but getting BSOD in ntoskrnl.exe while
startup. Iam using WinXP, compuware driver studio 2.7.

I tried even in win2k, but no luck. Do anyone faced the same problem? Is
there any other tool can replace softice?

rgds
GP.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@acm.org
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@des.co.uk
To unsubscribe send a blank email to xxxxx@lists.osr.com

You do need to note that that’s capitalistic view - not shared by many dare to
endure in this area:-) (No, not going into politics, just pointing out that you have
to understand other people’s idiocy - they might be the idiot you’re gonna call boss
one day:-)

Don Burn wrote:

Buy a second machine, trying to do any file system work in a single machine
configuration is idiocy of the highest level. You are way to likely to corrupt
your build tree, and the time wasted in boot to run the dev environment, reboot to
test cycle will more than pay the cost.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

I disagree on SoftICE, agree on second machine.
Even dual processor machines aren’t expensive nowadays. (Although recommended for
debugging not required:-)
Connection cables “used” by WinDBG are hard to come by… maybe not in US/UK
where a lot of tech stuff is widely sold, but I wasn’t able to find it in Germany
even (OK, I was looking in a mid size town, not Frankfurt:-). Ditto for South Korea
(I looked in Seoul this time:-)
Next time, remind me to look it up while I’m in England:-)

Regards, Dejan.

xxxxx@des.co.uk wrote:

Hi,

I tend to agree with Don on this one. I used to use softice all the time as my
debugger but had no end of problems when I started to develop filter drivers. As
Don said, buy another machine. You will save so much time.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

Sorry, the last time I was forced to use SoftIce for such a project I asked
the VP of the division to drop by my office to watch me work. After he saw
the time wasting cycle of booting for debug, hit a problem, reboot to modify
and rebuild, and reboot, he quickly ordered test machine. And this was in a
very tight economy.

All it takes is one corruption and subsequent loss of work of a single
machine setup to convince any rational manager (including most pointy haired
one’s) that single machine debugging of a file system compnent is a bad
idea.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, December 24, 2003 9:15 AM
Subject: [ntfsd] Re: How to debug driver on single machine?

>
> You do need to note that that’s capitalistic view - not shared by many
dare to
> endure in this area:-) (No, not going into politics, just pointing out
that you have
> to understand other people’s idiocy - they might be the idiot you’re gonna
call boss
> one day:-)
>
> Don Burn wrote:
>
> > Buy a second machine, trying to do any file system work in a single
machine
> > configuration is idiocy of the highest level. You are way to likely to
corrupt
> > your build tree, and the time wasted in boot to run the dev environment,
reboot to
> > test cycle will more than pay the cost.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

If all else fails, you can always use VMWare for a virtual machine, and
that does currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Dejan Maksimovic
Sent: Wednesday, December 24, 2003 9:20 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

I disagree on SoftICE, agree on second machine.
Even dual processor machines aren’t expensive nowadays. (Although
recommended for debugging not required:-)
Connection cables “used” by WinDBG are hard to come by… maybe
not in US/UK where a lot of tech stuff is widely sold, but I wasn’t able
to find it in Germany even (OK, I was looking in a mid size town, not
Frankfurt:-). Ditto for South Korea (I looked in Seoul this time:-)
Next time, remind me to look it up while I’m in England:-)

Regards, Dejan.

xxxxx@des.co.uk wrote:

Hi,

I tend to agree with Don on this one. I used to use softice all the
time as my debugger but had no end of problems when I started to
develop filter drivers. As Don said, buy another machine. You will
save so much time.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com

I buy my cables at the local Staples, I just checked there isn’t one in
Frankfurt but there are nine in Germany. Unless they have a radically
different policy than the US and Canada, they promise if the store doesn’t
have an item they ship it to the store for free.

I’ve tried SoftIce both local and remote and found it much more likely to
impact problems in ways that make debugging impossible vesus WinDBG. That
along with the fact that I prefer a GUI interface, has caused me to swear
off SoftIce when possible.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, December 24, 2003 9:20 AM
Subject: [ntfsd] Re: How to debug driver on single machine?

>
> I disagree on SoftICE, agree on second machine.
> Even dual processor machines aren’t expensive nowadays. (Although
recommended for
> debugging not required:-)
> Connection cables “used” by WinDBG are hard to come by… maybe not
in US/UK
> where a lot of tech stuff is widely sold, but I wasn’t able to find it in
Germany
> even (OK, I was looking in a mid size town, not Frankfurt:-). Ditto for
South Korea
> (I looked in Seoul this time:-)
> Next time, remind me to look it up while I’m in England:-)
>
> Regards, Dejan.
>
> xxxxx@des.co.uk wrote:
>
> > Hi,
> >
> > I tend to agree with Don on this one. I used to use softice all the
time as my
> > debugger but had no end of problems when I started to develop filter
drivers. As
> > Don said, buy another machine. You will save so much time.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

I poked into my desktop machine a firewire adapter, and use as a second
machine my laptop, through it’s built-in
firewire. The interface was sold with cables, and I bought an auxiliary
null-modem cable for debugging > XP targets
for several dollars. Windbg works ok now. Im pretty satisfied with this
debugging set-up.

Dan

----- Original Message -----
From: “Dejan Maksimovic”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, December 24, 2003 4:20 PM
Subject: [ntfsd] Re: How to debug driver on single machine?

>
> I disagree on SoftICE, agree on second machine.
> Even dual processor machines aren’t expensive nowadays. (Although
recommended for
> debugging not required:-)
> Connection cables “used” by WinDBG are hard to come by… maybe not
in US/UK
> where a lot of tech stuff is widely sold, but I wasn’t able to find it in
Germany
> even (OK, I was looking in a mid size town, not Frankfurt:-). Ditto for
South Korea
> (I looked in Seoul this time:-)
> Next time, remind me to look it up while I’m in England:-)
>
> Regards, Dejan.
>
> xxxxx@des.co.uk wrote:
>
> > Hi,
> >
> > I tend to agree with Don on this one. I used to use softice all the
time as my
> > debugger but had no end of problems when I started to develop filter
drivers. As
> > Don said, buy another machine. You will save so much time.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hi,

VirtualPC 2004 does allow two-machine debugging on a single machine just
like VMWare. In my limited experience it seems slightly more development
friendly, mostly in that it doesn’t eat the CPU whole while sitting on a
breakpoint, which probably improves debugging performance.
It should be noted that there are serious advantages to using a virtual
machine getup to debug software as opposed to one or more physical
hosts, particularily for FSDs and filters. Among the bigger advantages
are the fact that you can maintain multiple different OS-en and other
setups on a single physical host. All it costs you is disk space, 1-2
Gig suffices for a basic OS setup with a couple of apps. If you have the
hardware to support it - mainly RAM - you can even run two or more
virtual machines simultaneously on a single host.
Another big advantage is that both VMWare and VirtualPC support undoable
file systems (probably by maintaining a block-level delta of the disk
image), which means that if you screw up your file system, all you need
to do is to discard the changes from the session.
VMWare also supports snapshotting, which allows you to persist the full
state of the machine at some point in time. This can come in handy to
replay a sequence of code or events repediately, while homing in on the
source of a problem.
The disadvantage for FSD & filter work, I suppose, is that the virtual
hardware is fixed, so you’re not going to have much variety in the
storage stack and below.

Siggi

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Wednesday, December 24, 2003 9:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to debug driver on single machine?

If all else fails, you can always use VMWare for a virtual machine, and
that does currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Dejan Maksimovic
Sent: Wednesday, December 24, 2003 9:20 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

I disagree on SoftICE, agree on second machine.
Even dual processor machines aren’t expensive nowadays. (Although
recommended for debugging not required:-)
Connection cables “used” by WinDBG are hard to come by… maybe
not in US/UK where a lot of tech stuff is widely sold, but I wasn’t able
to find it in Germany even (OK, I was looking in a mid size town, not
Frankfurt:-). Ditto for South Korea (I looked in Seoul this time:-)
Next time, remind me to look it up while I’m in England:-)

Regards, Dejan.

xxxxx@des.co.uk wrote:

Hi,

I tend to agree with Don on this one. I used to use softice all the
time as my debugger but had no end of problems when I started to
develop filter drivers. As Don said, buy another machine. You will
save so much time.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@greenborder.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

This electronic transmission (and any attached documents) is for the sole use of the individual or entity to whom it is addressed. It is confidential and may be privileged. Any further distribution or copying of this message is strictly prohibited. If you received this message in error, please notify GreenBorder immediately by telephone at (650) 625.0601 and destroy the message (and all attached documents), immediately.

Another disadvantage is that you only get uni-processor support (VMWare, at least, does come in an MP version, but for the cost of just the license you can purchase either a machine with hyperthreading - two logical processors, or even two physical processors. Indeed, I think you could build a dual processor Opteron system for about the same price as VMWare ESX - and then you would have both 32 and 64 bit MP configurations covered!)

Log structured disks are a nice feature, particularly the ability to “roll back” to an earlier machine state. Of course, you can achieve something “comparable” with existing Windows software (e.g., volume snapshots) although certainly far less trivially used.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sigurdur Asgeirsson
Sent: Wednesday, December 24, 2003 10:27 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

Hi,

VirtualPC 2004 does allow two-machine debugging on a single machine just like VMWare. In my limited experience it seems slightly more development friendly, mostly in that it doesn’t eat the CPU whole while sitting on a breakpoint, which probably improves debugging performance.
It should be noted that there are serious advantages to using a virtual machine getup to debug software as opposed to one or more physical hosts, particularily for FSDs and filters. Among the bigger advantages are the fact that you can maintain multiple different OS-en and other setups on a single physical host. All it costs you is disk space, 1-2 Gig suffices for a basic OS setup with a couple of apps. If you have the hardware to support it - mainly RAM - you can even run two or more virtual machines simultaneously on a single host.
Another big advantage is that both VMWare and VirtualPC support undoable file systems (probably by maintaining a block-level delta of the disk image), which means that if you screw up your file system, all you need to do is to discard the changes from the session.
VMWare also supports snapshotting, which allows you to persist the full state of the machine at some point in time. This can come in handy to replay a sequence of code or events repediately, while homing in on the source of a problem.
The disadvantage for FSD & filter work, I suppose, is that the virtual hardware is fixed, so you’re not going to have much variety in the storage stack and below.

Siggi

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Wednesday, December 24, 2003 9:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to debug driver on single machine?

If all else fails, you can always use VMWare for a virtual machine, and
that does currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Dejan Maksimovic
Sent: Wednesday, December 24, 2003 9:20 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

I disagree on SoftICE, agree on second machine.
Even dual processor machines aren’t expensive nowadays. (Although
recommended for debugging not required:-)
Connection cables “used” by WinDBG are hard to come by… maybe
not in US/UK where a lot of tech stuff is widely sold, but I wasn’t able
to find it in Germany even (OK, I was looking in a mid size town, not
Frankfurt:-). Ditto for South Korea (I looked in Seoul this time:-)
Next time, remind me to look it up while I’m in England:-)

Regards, Dejan.

xxxxx@des.co.uk wrote:

Hi,

I tend to agree with Don on this one. I used to use softice all the
time as my debugger but had no end of problems when I started to
develop filter drivers. As Don said, buy another machine. You will
save so much time.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@greenborder.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

This electronic transmission (and any attached documents) is for the sole use of the individual or entity to whom it is addressed. It is confidential and may be privileged. Any further distribution or copying of this message is strictly prohibited. If you received this message in error, please notify GreenBorder immediately by telephone at (650) 625.0601 and destroy the message (and all attached documents), immediately.
B¶°²y…Hj¶ÿ¢žyý‰q

I used to work with SoftICE a long time back. But switched to VMWare/WinDbg combo a few years ago and its has been working fine for me. WinDbg has gone consistantly better, atleast wrt the way I use it.

One painfull thing about windbg over serial port is the speed, it can be very bad.

Has anyone used the firewire support of WinDbg?

Manish

Tony Mason wrote:
Another disadvantage is that you only get uni-processor support (VMWare, at least, does come in an MP version, but for the cost of just the license you can purchase either a machine with hyperthreading - two logical processors, or even two physical processors. Indeed, I think you could build a dual processor Opteron system for about the same price as VMWare ESX - and then you would have both 32 and 64 bit MP configurations covered!)

Log structured disks are a nice feature, particularly the ability to “roll back” to an earlier machine state. Of course, you can achieve something “comparable” with existing Windows software (e.g., volume snapshots) although certainly far less trivially used.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Sigurdur Asgeirsson
Sent: Wednesday, December 24, 2003 10:27 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

Hi,

VirtualPC 2004 does allow two-machine debugging on a single machine just like VMWare. In my limited experience it seems slightly more development friendly, mostly in that it doesn’t eat the CPU whole while sitting on a breakpoint, which probably improves debugging performance.
It should be noted that there are serious advantages to using a virtual machine getup to debug software as opposed to one or more physical hosts, particularily for FSDs and filters. Among the bigger advantages are the fact that you can maintain multiple different OS-en and other setups on a single physical host. All it costs you is disk space, 1-2 Gig suffices for a basic OS setup with a couple of apps. If you have the hardware to support it - mainly RAM - you can even run two or more virtual machines simultaneously on a single host.
Another big advantage is that both VMWare and VirtualPC support undoable file systems (probably by maintaining a block-level delta of the disk image), which means that if you screw up your file system, all you need to do is to discard the changes from the session.
VMWare also supports snapshotting, which allows you to persist the full state of the machine at some point in time. This can come in handy to replay a sequence of code or events repediately, while homing in on the source of a problem.
The disadvantage for FSD & filter work, I suppose, is that the virtual hardware is fixed, so you’re not going to have much variety in the storage stack and below.

Siggi

-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Wednesday, December 24, 2003 9:34 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to debug driver on single machine?

If all else fails, you can always use VMWare for a virtual machine, and
that does currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Dejan Maksimovic
Sent: Wednesday, December 24, 2003 9:20 AM
To: ntfsd redirect
Subject: [ntfsd] Re: How to debug driver on single machine?

I disagree on SoftICE, agree on second machine.
Even dual processor machines aren’t expensive nowadays. (Although
recommended for debugging not required:-)
Connection cables “used” by WinDBG are hard to come by… maybe
not in US/UK where a lot of tech stuff is widely sold, but I wasn’t able
to find it in Germany even (OK, I was looking in a mid size town, not
Frankfurt:-). Ditto for South Korea (I looked in Seoul this time:-)
Next time, remind me to look it up while I’m in England:-)

Regards, Dejan.

xxxxx@des.co.uk wrote:

> Hi,
>
> I tend to agree with Don on this one. I used to use softice all the
> time as my debugger but had no end of problems when I started to
> develop filter drivers. As Don said, buy another machine. You will
save so much time.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com Alfa Transparent File
Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com To unsubscribe
send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@greenborder.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

This electronic transmission (and any attached documents) is for the sole use of the individual or entity to whom it is addressed. It is confidential and may be privileged. Any further distribution or copying of this message is strictly prohibited. If you received this message in error, please notify GreenBorder immediately by telephone at (650) 625.0601 and destroy the message (and all attached documents), immediately.
B¶°²y…Hj¶ÿ¢žyý‰q

B笶*'°X«²×!yÉ-…âHPjØm¶›?ÿ 0¢ÊèžX§yÊ&ýªí‰É^qù¢}{b‹š­ç.®·§¶\¬¹»®&ÞvÚ’µûjÉš¦×²j(r‰“¢éì¹»®&Þ±éÝi¹ZžG¦j)m¢Wš½éí~ÇuÛo;^X¬¶Ê,­Ê&

---------------------------------
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square

The time it takes to boot a VMWare (Or VPC as well) machine is far from rational
for me.
I’m sticking to separate debugging machines using SoftICE, until I can get a
cable:-)

Tony Mason wrote:

If all else fails, you can always use VMWare for a virtual machine, and that does
currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

> I buy my cables at the local Staples, I just checked there isn’t one in

Frankfurt but there are nine in Germany. Unless they have a radically
different policy than the US and Canada, they promise if the store doesn’t have an
item they ship it to the store for free.

I’d never think of looking for Staples in Germany… nice idea!


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.

XP on VMWare doesn’t take THAT long to boot, in my experience (though it
certainly could be improved). As I’ve reported before, VMWare works
well with WinDbg as long as you are aware of the limitations (for
example, in my case I needed to install a virtual serial port emulator
to get it hooked up, and furthermore I’m not able to debug user-mode
code in NT4 on a VMWare for some reason). SoftIce does work natively in
a VMWare, which is a pretty amazing achievement in my opinion.

Having just accepted a job offer at VMWare, I will soon be able to look
into these issue personally. :slight_smile: Better debugging support may result in
greater Workstation sales not just to individual developers, but to
entire QA teams, when it becomes clear to developers how easy it can be
just to snag a particular QA image to debug a reproducible problem.

Dejan Maksimovic wrote:

The time it takes to boot a VMWare (Or VPC as well) machine is far from rational
for me.
I’m sticking to separate debugging machines using SoftICE, until I can get a
cable:-)

Tony Mason wrote:

>If all else fails, you can always use VMWare for a virtual machine, and that does
>currently allow debugging. Perhaps with Microsoft’s
>acquisition of Connectix, that will emerge as another alternative. The
>cost of Vmware however is not so far off from a second machine.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Nick Ryan (MVP for DDK)

> Connection cables “used” by WinDBG are hard to come by… maybe not in
US/UK

Easily sold in Moscow on any computer marketplace. Just ask for “null modem”.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

> All it takes is one corruption and subsequent loss of work of a single

machine setup to convince any rational manager (including most pointy haired
one’s) that single machine debugging of a file system compnent is a bad
idea.

IMHO, but VMWare is by far better money investment then SoftICE. :slight_smile:

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

> VirtualPC 2004 does allow two-machine debugging on a single machine just

like VMWare. In my limited experience it seems slightly more development

VirtualPC is more buggy then VMWare, at least on ancient DOS games which use
flat realmode. It hangs sometimes. VMWare - practically never.

Never tried VPC with NT in it - no goal, the debugger is not connectable
anyway.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

I have a dual processor system with 2 gig of RAM. VMWare boots far faster
than the real hardware on my system.

Jamey Kirby, Windows DDK MVP
StorageCraft Inc.
xxxxx@storagecraft.com
http://www.storagecraft.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dejan Maksimovic
Sent: Wednesday, December 24, 2003 4:49 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to debug driver on single machine?

The time it takes to boot a VMWare (Or VPC as well) machine is far from
rational
for me.
I’m sticking to separate debugging machines using SoftICE, until I can
get a
cable:-)

Tony Mason wrote:

If all else fails, you can always use VMWare for a virtual machine, and
that does
currently allow debugging. Perhaps with Microsoft’s
acquisition of Connectix, that will emerge as another alternative. The
cost of Vmware however is not so far off from a second machine.


Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com