Debugging

Dimitrie O. Paun dimi at intelliware.ca
Thu Apr 24 15:16:45 CDT 2003


On Thu, 24 Apr 2003, Ann and Jason Edmeades wrote:

> 2 questions...
> 
> 1. Is there any macro to dump out a hex dump of memory, eg.
> TRACE_DUMP("Memory", pMem, numBytes);
> If not, can I add one (inline in debug.h?)

In general, I don't think it's such a good idea to just dump
memory. Most of the time the data is typed, so outputing
something more meaningful is better. We haven't had a need
for such a macro, so I would suspect it's something very
specific -- defining it locally would be better for now IMO.

-- 
Dimi.




More information about the wine-devel mailing list