Syntax Highlighting Perl Debugger on github
You may have seen this:
I had debugger syntax highlighting working before, but I overcomplicated it and never figured out how to approach the problem.
I was inspired to try again by Mithaldu's post about augmenting the debugger. Once I realized that I had a much better strategy than previously, the code was straightforward.
I tested it on 5.12.2. I offer no guarantees. It's on Github as DB--Color. You don't like it? Fix it :)
Aw, only adds linenoise on Win32. :(
But still, looks neat and thanks for the shoutout! :D
Makes me think i should release DB::Augment, since i haven't seen any other strategies for this so far.
For anyone following along at home, this is in reference to this post where I finally released some code.
Mithaldu: it doesn't work on Windows because I didn't use Win32::Console. If I try that, I might be able to make it work. No promises, though :)
I also need to allow a .dbcolorrc to allow people to override my awful color choices :)