Re: [hatari-devel] fopen traces

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 31/03/2015 23:50, Eero Tamminen a écrit :

IMHO trace level is about some broad categories of hardware components
(cpu, blitter, video, sound, fdc, ...) and some families of OS
calls/TRAPs.

IMHO couple of most frequent usages could have their own flags.

Haven't you ever wanted something more focused because you
use it constantly and most of rest is often just noise?


Hi

it happens frequently, but in that case I usually add some temporary printfs which are better tailored to the case I want to debug, then I remove/comment them once problem is solved because I think it's too specific and won't really be useful to others.

This requires to re-compile, but that's not really a problem when you're trying to debug some parts, since you'tr likely to modify the code anyway.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/