Re: Differences between checked and free versions of a driver

From: cristalink (cristalink_at_nospam.nospam)
Date: 01/28/05


Date: Sat, 29 Jan 2005 06:48:28 +1300


>> What are the differences between the checked and free version

The code generated by a compiler is substantially different for
debug/release modes.

>> which can cause such a behaviour.

Most likely: a bug in your code, such as an uninitialized variable or so,
which doesn't show up in the debug mode. I've seen a lot of such cases.

Less likely: a bug in the compiler.

Unlikely: a timing issue.

>> how do I go about debugging

It's not generally easy. Try to find out why the HCT test fails. Review your
code. Comment out pieces of code until the problem goes away. Use Prefast
from DDK.

I never compile my drivers in the debug mode just to avoid the problems you
are facing.

-- 
http://www.firestreamer.com - NTBackup to DVD and DV
"Sareena" <Sareena@discussions.microsoft.com> wrote in message
news:E7B7D504-9985-43C0-855D-620935C074B9@microsoft.com...
> Hi,
>
> I am trying an HCT 11.2 Enable\Disable IO test on x-86 system having a
fibre
> channel adapter. The test fails when I am using free version of the driver
> for the fibre channel adapter, but passes with the debug version of the
> driver.
>
> What are the differences between the checked and free version of the
driver
> in general, ie memory usage etc, which can cause such a behaviour.
> In what circumstances does a test fail in free version and pass in the
debug
> version of the driver
>
>
> Thanks in advance
> Sareena.
>


Relevant Pages

  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (linux.redhat.misc)
  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (comp.os.linux.hardware)
  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... >couldnt connect with the oracle database specified in the program. ... It may be missing an ODBC driver and/or data source. ... You also need an entry for the data source in tnsnames.ora. ... precompiler directives to the precompiler and compiler directives to ...
    (comp.lang.cobol)
  • Re: Build device driver using Microsoft Visual C++ 2005
    ... If its true that SoftIce has been flushed then driver development just got ... since SoftIce has been flushed. ... anything other than the DDK compiler to build a driver. ... on your driver and then come back and talk about PDB files. ...
    (microsoft.public.development.device.drivers)
  • Re: how many win64?
    ... AMD64 compiler won't do that. ... Calvin Guan, Windows DDK MVP ... Software Engineer, NT Driver ... > difference, once it works on one architecture, it should work on the next. ...
    (microsoft.public.development.device.drivers)