Re: How to view debug information?
From: R.Fichter (Ft.nospam_at_emtrion.de)
Date: 04/30/04
- Next message: JLL: "DHCP Under XScale (PXA255) and Sumsung (2410)"
- Previous message: David Jones: "Wireless with CE.NET.. Any ideas how to?"
- In reply to: visi: "Re: How to view debug information?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 08:29:10 +0200
Make sure, that the define SHIP_BUILD is not set otherwise for the compiler.
To check if this define is set you should look into the build.log file and
check if in the command line of the compiler is a parameter which look like
"-DSHIP_BUILD=1". If you this parameter find the command line of the
compiler, the compiler won't place code for the RETAILMSG and DEBUGMSG into
the dll. The compiler define can set in the source file or the source.cmn
file, which is located in the $(_TARGETPLATROOT) directory.
To find out if the compiler make code for the RETAILMSG and DEBUGMSG macros
you can also add the WINCECOD=1 statement to the source file of the driver.
After you have recompile the driver the compiler have stored .cod file under
the directory <driver>\obj\<cpu>\debug. In this file you can look if the
compiler has make instructions for the RETAILMSG resp. DEBUGMSG statements
in your code.
Regards Ruediger
"visi" <zqvisi@hotmail.com> schrieb im Newsbeitrag
news:OGmKwDlLEHA.3892@TK2MSFTNGP11.phx.gbl...
> My "Build Options" tab in the platform settings is following:
>
> and there is no "Enable Ship Build" option .I dont set the environment
> variable SHIP_BUILD to 1 .
> In the kernel there are debug information output,but in driver model the
> message is always not output.
>
>
>
> "R.Fichter" <Ft.nospam@emtrion.de> wrote in message
> news:#xB9MibLEHA.340@TK2MSFTNGP11.phx.gbl...
> > Check if you have set the environment variable SHIP_BUILD to 1 (or
> selected
> > the item "Enable Ship Build" on the "Build Options" tab in the platform
> > settings). If this environment variable set the macros RETAILMSG and
> > DEBUGMSG are redefined in a header file. In this case no messages are
> output
> > to the debug interface. If the environment variable SHIP_BUILD is not
set,
> > the funktion NKDbgPrintfW in the kernel is called to output the message.
> >
> > Regards Ruediger
> >
> > "visi" <zqvisi@hotmail.com> schrieb im Newsbeitrag
> > news:%23vzNiZQLEHA.556@tk2msftngp13.phx.gbl...
> > > In retail or debug ,
> > > RETAILMSG(1,(TEXT("PDD_AudioInitialize1\r\n")));
> > > DEBUGMSG(1,(TEXT("PDD_AudioInitialize2\r\n")));
> > > there isnt debug messages occuring.
> > >
> > > I have no idea about it!If I need to do something?
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> >
> >
>
>
>
- Next message: JLL: "DHCP Under XScale (PXA255) and Sumsung (2410)"
- Previous message: David Jones: "Wireless with CE.NET.. Any ideas how to?"
- In reply to: visi: "Re: How to view debug information?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|