Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rurban (7989)

  {rurban} {at} {}

cygwin maintainer for perl, parrot, clisp, postgresql, ... and some perl modules (perl-libwin32, perl-Win32-GUI). Has also some hairy CPAN packages: B::C, B::Generate, C::DynaLib, B::Debugger ...

Journal of rurban (7989)

Saturday December 19, 2009
12:30 PM

B::Debugger breakthrough - perl -d -M=Od=C

[ #40040 ]

Finally I got the B Debugger working as I wanted it to work.

Od - Debug a Perl Compiler backend

perl -d -MOd=Backend[,OPTIONS]

$ perl -d -MOd=C

Od::CODE(0x154c5a0)((eval 9)[lib/]:25):
25: &$compilesub();
DB 1 s
3163: return sub { save_main() };
DB 1 s
2881: my $warner = $SIG{__WARN__};

This module is a debugging replacement to O, the Perl Compiler frontend.

It delays the start of the B compiler compile function from the CHECK block
to the INIT block, so that the debugger can be started there.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.