Does anyone have any experience capturing and parsing debug messages using
CeLog tools (oscapture, celogflush, readlog)? I.e., the sort of messages
printed to the console under the Platform Builder debugger.
I have a problem that I can't debug in Platform Builder. It's sort of a
heisenbug - the more debug I enable, the less stable the platform becomes,
limiting my ability to get usable debug. I'd like to build a release version
of my OS, but substitute a couple of the DLLs built in debug mode, and then
capture the relevant debug, on the theory that the simpler system will be
more robust.
I'm able to capture logs, but the debug statements that I would see in a
Debug Build under Platform Builder aren't present, or if they are,
readlog.exe isn't parsing them out. Instead, I get all the normal kernel
tracker type stuff, which I don't really need. Ideally I'd want to suppress
that for starters, and get the debug statements only.
Is there some key registry setting that I'm not tweaking properly? I'm
running on CE 5.0, with the following settings, which I thought would
suffice:
[HKEY_LOCAL_MACHINE\DebugZones]
"ndis"=dword:ffff
"ndisuio"=dword:ffff
"wzcsvc"=dword:ffff
"wzcapi"=dword:ffff
[HKEY_LOCAL_MACHINE\System\CeLog]
"ZoneCE"=dword:ffffffff
It seems to me that I've pulled this sort of thing off before when debugging
a bluetooth issue, but my notes aren't great on the subject - I must be
missing something.
Thanks,
- Josh