Syntax Highlighting Perl Debugger on github

You may have seen this:

Perl Debugger with Syntax Highlighting

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.

Leave a comment

About Ovid

user-pic Have Perl; Will Travel. Freelance Perl/Testing/Agile consultant. Photo by Warning: that site is not safe for work. The photographer is a good friend of mine, though, and it's appropriate to credit his work.