Voting/Wine debugging

From ReactOS Wiki
Revision as of 01:11, 14 August 2005 by Sedwards (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TODO: Talk about the channels and debug macros.

Toggleing the Wine debug channels...some idea by Art

"i've thought about how to do it and the right thing i think, is to have some memory shared by DbgPrint and kdb that contains a list of source names then have some special introducer written into the debug message by TRACE etc. Messages that lack the introducer are passed normally but ones that have it are either printed or ignored based on the log buffer that would allow channel names to be pervasive between userland and kernel land a good introducer scheme might be something like \007crc16(channel_name)channel_name+! It'd be almost infallible and relatively cheap to check and have zero impact on non-wine debug messages perhaps even \007channel_name!"