Skip to content

HaraldJoerg/Object-Pad-Debugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A Debugger for Object::Pad

Like many other modules available from CPAN, Object::Pad adds object oriented (OO) syntax to the Perl programming language.

What makes it special is that it also serves as a test bed for the Corinna project to add OO syntax to the Perl core.

On the downside for playing around with the idea is that your usual Perl tools for data inspection like the Perl debugger can not inspect its objects easily. This hack tries to work around the issue.

It is a hack because the Perl debugger isn't actually designed to be extended easily. But Perl being Perl, there's always a way.

Usage

Drop the file lib/Devel/opaddb.pm within your @INC path, so that Perl can find it as module CDevel::opaddb. Then start the debugger by enabling this module as debugger:

   perl -d:opaddb your/program.pl

COPYRIGHT AND LICENSE

COPYRIGHT 2021-2022 Harald Jörg

This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

About

A debugger for LeoNerd's Perl module Object::Pad

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages