Re: Driver Expert

From: Calvin Guan (cguan_at_pleasenospam.ati.com)
Date: 09/09/04


Date: Thu, 9 Sep 2004 12:27:31 -0400


"Philip Lukidis" <pagefault0x0@hotmail.com> wrote in message
news:edf4QHnlEHA.1244@TK2MSFTNGP15.phx.gbl...
[snip]
> One other
> thing that I like about SoftICE is that my source code is embedded in the
> symbols. WinDBG requires source code for each driver version that you
want
> to debug, but your major revisions will have labels in VSS anyways.
> However, minor revisions may not, so having the source in the SoftICE
> symbols is convenient.

This is not always nice IMO, especially for big drivers. The size of NMSs
for our miniport and 2d driver is about 25MB. That's the minimal symbol
required to debug our driver. We potentially need symbols for d3d/OGL
drivers. That would be another hundred MB. A serious debug session may
require symbols for ntoskrnl,hal,videoprt,win32k as well. We will have to
reserve a lot of memory for SICE to load the symbols.

Matching the symbols/sources for executable automatically is very nice
especially we build many versions of the same drivers nightly.
WinDbg+srcsrv+perforce works great in this situation. We can debug any
nightly builds/branch builds of any of our drivers at source level as long
as the PDB has not been retired from our internal symserver. OTOH, I would
probably die within days if I have to match the NMS manually.

> I have not heard of performance analyzer...do you mean True Time? If so,
> reference my comments above.

I have not been intensively using True Time. I just can't resist the power
that VTune has offered.

-
Calvin Guan Software Engineer
ATI Technologies Inc. www.ati.com



Relevant Pages

  • Re: Debugging Dll with Softice Problem
    ... Actually the dll ... I am trying to debug a dll with softice. ... see only assemble code rather than source code. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DBexpress 4 GO OpenSource ?
    ... Delphi to make it easier to develop drivers and debug, ... has the same license as the other source code delivered with Delphi ...
    (borland.public.delphi.non-technical)
  • Re: [BUG, bisected] atmel_spi: hard lockups in transfer
    ... then you would get lots of debug output ... I've attached the output from dmesg from the tester after he ... We have seen the problem reported across many SPI usages though in this ... # RAM/ROM/Flash chip drivers ...
    (Linux-Kernel)
  • Re: Debug and break point problem - There is no source code available
    ... manually recreate all the classes and then paste the code in... ... I, too, moved the source code from one ... > I started a new project and confirmed that I can debug it. ... >> I had to manually change the reference in the Solution properties. ...
    (microsoft.public.dotnet.general)
  • Re: Unable to DEbug the Driver in the user mode
    ... I have Printer driver code which uses uniDrv & OEMUI code. ... ANOTHER INTEROP dLL WHICH TRANSFER THE BYTE ARRAY TO .nET ... I am getting some information about the debug content ... but I am not able to debug source code line by line. ...
    (microsoft.public.development.device.drivers)