On Sun, 26 Feb 2023, at 16:48, Mike Cowlishaw wrote: > Like Chip (I suspect), I'm beginning to think that this is outside the > domain of the language and more suited to some external 'specialised tool' > .... or just an option to write the trace to a file .. that is, not expected > to be > seen by humans but more likely processed by a program to be presented > in some useful way to the human.
That sounds like a good idea to me. Having looked at some of the examples posted in this discussion, it seems to me that one thing that would make a massive contribution to reading such traces would be being able to have lines from specific threads (or even more granular than that) displayed in different colours. A text editor that entirely uses regexes to identify character strings or lines which should be displayed in various colours might be a convenient way to achieve that. I still mainly use Kedit for editing rexx source etc. Its syntax colouring isn't able to cope with log lines, but the fact that it can be scripted (in "Kexx") makes it a winner for me. I noticed a while ago that EditPadPro - https://www.editpadpro.com - does have regex-based colouring, and have been thinking about installing that JUST to use as a file browser, for application debug logs etc. [I used to use an editor named StrongED [under Risc OS] which had flexible colouring, able to be used on application-specific log files etc & once wrote an enhanced version of a spam-filtering application where rules were shown in colours in rule definitions, & corresponding colours were used when one looked at the logs showing rules taking actions on emails, provided a user was using StrongED and the config files I provided. Some parts of the application GUI also optionally used the same colours - which went against the prevailing OS standards for how GUI panes should look. It was techincally possible to use colours, but no part of the OS or any other application I'd ever seen actually did so. I suppose that if all applications had done so, each in their own way, without that being able to be customised in a way that made sense to each user, desktops would have looked awful. But on the other hand, sensible/restrained use of colour added a lot of extra meaning in that application.) -- Jeremy Nicoll - my opinions are my own. _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
