Voting/Wine debugging

From ReactOS Wiki
Jump to: navigation, search
This page is probably outdated

The information on this page might not be valid for the current state of ReactOS.
A Wiki Administrator should look at this page and decide or discuss what to do with it.

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!"