Adding tests to and refactoring the perl debugger - Grant Conclusion Report

No Comments

Grant Conclusion Report

Shlomi Fish has sent a Grant Conclusion Report:

This is a final report of my grant of improving the Perl built-in debugger (invoked using perl -d on the command line with code residing in lib/perl5db.pl and tests in lib/perl5db.t), by adding more tests and refactoring it.

The grant was completed mostly successfully, after the number of test assertions in lib/perl5db.t was increased to 108, and the debugger's core code (in lib/perl5db.pl) has been made more modular and elegant. The reason it was not a full success is because the debugger's code is still not as elegant as it could be, but part of the problem was my desire not to break bug-to-bug backwards compatibility of CPAN and darkpan modules that make use of the debugger's internal API.

During the grant, my grant manager, Alan Haggai Alavi, published several reports on the TPF blog on my behalf:

During the grant I have learnt what git rebase was all about, how to use it, and why it was sometimes a good idea, and also became familiar with more features of the debugger.

If anyone is interested in a more modular debugger for Perl, while doing away with backwards compatibility, they can look at Devel::Trepan:

Otherwise, the refactored debugger should be more amenable to changes, and the additional test assertions will better ascertain it is not going to be broken as easily.

I would like to thank Alan Haggai Alavi (my grant manager), Father Chrysostomos ( https://metacpan.org/author/SPROUT - for applying some of my changesets and for fixing a bug or two I discovered), Ricardo Signes (the perl 5 pumpking), Rocky Bernstein (for writing Devel-Trepan and commenting on the grant reports), and the other perl5-porters.

I am planning on continuing working on the perl debugger, and other parts of the perl 5 core after the end of the grant, but I thank the Perl Foundation for giving me the grant, which has motivated me.

Regards, and Happy Holidays,

-- Shlomi Fish

Leave a comment

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at www.perlfoundation.org.

About this Entry

This page contains a single entry by Alan Haggai Alavi published on December 10, 2012 9:53 AM.

Improving Perl 5: Grant Report for Month 14 was the previous entry in this blog.

The First Twenty-Five Years is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.38