Difference between revisions of "Voting/Wine debugging"
m (moved Wine Debugging to Voting/Wine debugging: Reflect this was a vote, not an article on Wine debugging)
Revision as of 23:14, 6 September 2010
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!"