debug channels

max max at veneto.com
Mon Jun 10 15:04:01 CDT 2002


I just finished coding a front-end for wine, that parses on the fly all wine 
logs and display only selected ones; logs are selectable by class and 
channel.
I'd like to post it, but there's a probem yet : the parser, for speed 
purposes, works line-by-line, looking for strings of kind 

080ee030:trace:win32:_EnterSysLevel (0x4070e558, level 2): ................
080ee030:trace:win32:_EnterSysLevel (0x4070e558, level 2): ...............
080ee030:trace:win32:_LeaveSysLevel (0x4070e558, level 2): .............

so, for strings containing an optional adress field, a colon, a class name, a 
colon and a channel name. It can't obviously understand multi-line outputs 
like this one :

080ee030:warn:heap:HEAP_ValidateInUseArena Heap 40a60000: ............
Heap: 40a60000
Next: 65430000  Sub-heaps: 40a60000
Free lists:
 Block   Stat   Size    Id
40a60038 free 00000001 prev=40a606bc next=40a6004c
40a6004c free 00000001 prev=40a60038 next=40a60060

because of lack of :CLASS:CHANNEL: markers.
Would it be possible to patch debug channel code to add it on beginning
(or after address field) of EACH output line, instead of only first line of 
multiline output ?

Regards

Max



More information about the wine-devel mailing list