in reply to Strategies for maintenance of horrible code?
What tools are you using already and on what platform? For a large range of "detail" debugging there is nothing like as good as an IDE with a good integrated debugger. For a higher level view of where things are going Devel::TraceCalls may be handy, although it's output can be rather voluminous.
DWIM is Perl's answer to Gödel