Re: Build device driver using Microsoft Visual C++ 2005
- From: "Don Burn" <burn@xxxxxxxxxxxxxxxx>
- Date: Wed, 7 Jun 2006 09:34:30 -0400
"mirage2k2" <mirage2k2@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B4A6CF3D-D3C9-4801-ADEE-31DBB8BDE399@xxxxxxxxxxxxxxxx
So if I do not use SoftIce, how will I step through my code? I know that
you
can do this with WinDbg using 2 machines, but this is the hardest and
slowest
way of doing this! Our company simply cannot afford to waste so much time
using this ancient technique. Is there an alternative? Have MS updated
WinDbg so that it will do this? Do they have any plans to?
Why is this the hardest and slowest? The advantage of two machines is that
you are doing minimal disturbance of the test system with the debugger. The
other big advantage is that you are not risking corruption of the
development environment with the driver, this latter is critical if you work
in the storage space.
WinDBG on two machines was never slow compared to SoftIce, and nowadays with
1394 debugging it flies. I have never found 2 machine debugging harder, and
with the .kdfiles capability in WinDBG (where the debugger intercepts the
load of the driver, and installs one from the development machine on the
test machine) thing really fly. In a lot of cases, I will find a stupid bug
in WinDBG that caused a crash, fix them on source, and compile while the
test machine is rebooting. If you ever have one crash that requires a
reinstall, the cost of the second machine is probably covered in the wasted
time.
I really have to refute the slowest claim, I have been charging extra if a
customer forces me to use SoftIce since my productivity was so much worse.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
.
- Follow-Ups:
- Re: Build device driver using Microsoft Visual C++ 2005
- From: mirage2k2
- Re: Build device driver using Microsoft Visual C++ 2005
- References:
- Re: Build device driver using Microsoft Visual C++ 2005
- From: Gary G. Little
- Re: Build device driver using Microsoft Visual C++ 2005
- From: Gary G. Little
- Re: Build device driver using Microsoft Visual C++ 2005
- From: David J. Craig
- Re: Build device driver using Microsoft Visual C++ 2005
- From: mirage2k2
- Re: Build device driver using Microsoft Visual C++ 2005
- From: Don Burn
- Re: Build device driver using Microsoft Visual C++ 2005
- Prev by Date: Re: (basics) driver - library
- Next by Date: Re: 64-bit Vista and driver cross signing
- Previous by thread: Re: Build device driver using Microsoft Visual C++ 2005
- Next by thread: Re: Build device driver using Microsoft Visual C++ 2005
- Index(es):
Relevant Pages
|