[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging...



I like a lot about the debugging feature implemented in the MiNT kernel,
but nearly always it ouputs so much stuff that the relevant part scrolls
out of the screen :-(.

I suggest that someone who's more accustomed to dealing with traps etc.
would start making an external utility for defining what functions will
be debugged, how much info would be needed (preferably it would have
an option for loading the debug messages from a separate file (for
different languages) :-), and where the debug info would be sent:
	- console
	- memory (allocated by the utility). Ring buffer?
	- file (blocking file operations :-()
	- pipe
	- printer
	- etc.
If the destination was memory, there should be a possibility to save
it to a file later.

To save usual memory, kernel would be modified so that it would only set
the 'level' of output. That external terminate-stay-resident utility would
take care of everything else.


	- Eero -