Re: How to debug a driver in the PDA ?



Steve:

Maybe we should qualify "debug"

The OP can debug his driver on the PDA, ***IF*** we get in our way-back
machines and think about how we debugged before we had fancy debugging
tools. He can use RETAILMSGs, or fprintf to track the behavior and data
that his driver uses. Is this ideal? no, but plenty of high quality code
has been debugged this way and it answers the OP's original request. He can
also use the Remote tools to look at the system as a whole and how his
driver effects it.

On the other hand, if the OP want to step through the driver and use watch
windows, then absolutely no, he cannot use his PDA.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member


"Steve Maillet (eMVP)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:eh5mf9WbFHA.2128@xxxxxxxxxxxxxxxxxxxxxxx
> CETK has noting to do with the kernel debugger. The OS run-time image in
ROM
> must be made specially to support kernel debugging.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>


.



Relevant Pages

  • Windows XP with bluescreen parport.sys
    ... Here is the complete bluescreen I debugged with the Windows Debugging Tools: ... After setting your symbol path, use .reload to refresh symbol locations. ... a driver actually attempted to complete its own packet ... stack for the current request can be found by examining the DeviceObject ...
    (microsoft.public.windowsxp.general)
  • Re: 7.0 CURRENT kernels ath driver causes page fault, kernel panic (debugging kernel)
    ... but when I tried debugging my issue with NTFS and SMB I didn't really ... scheduler, the driver, or something else... ... After I get the dump with the current options (+ debug options), ... it's harder to track down driver bugs to some extent. ...
    (freebsd-current)
  • Re: Optimum page file size for 1 GB?
    ... your filesystem driver may be screwed all over ... you are talking about kernel crashes! ... and save an application dump for postmortem debugging. ... The right way to do this is to not touch the disk at all after akernel ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: WindowsMobile DDK?
    ... The only way of debugging is to install PB, build the "PDA" custom platform ... >>> I'm interested in developing a Device Driver for Windows Mobile OS.... ...
    (microsoft.public.development.device.drivers)
  • Re: ath0 issue
    ... -- there should be packets sent every second while doing this. ... Not usually a good idea to enable so much debugging. ... are there resources in the driver to send a packet (e.g. buffers on ... harder but can occur when something like a beacon frame fails to go out ...
    (freebsd-stable)