perl-Devel-GDB-Parser-Breakpoint - Create easily identifiable gdb breakpoints in Perl parser code

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Devel-GDB-Parser-Breakpoint-0.02-alt1.noarch.rpm
Package name perl-Devel-GDB-Parser-Breakpoint
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 4.60 KB
Installed size 4.60 KB
This module allows you to inject breakpoints into the parsing of your Perl
code by the perl binary that you can easily identify with gdb.
It exports the `parser_breakpoint' sub at runtime which can be called from any
Perl code with an integer value as its argument. When the perl lexer/parser
reaches the line, the module calls a C function called `bp' with the argument
you gave as its only parameter, which is named `val'.
IE, in Perl:
parser_breakpoint 3;
Equates to:
void bp(int val) {};
Which allows you in gdb to set breakpoints like so:
(gdb) b bp if val == 3
Note that parser_breakpoint always returns the value 1. It can be used
in complex statements/expressions to see what's going on:
if ($x && $y && parser_breakpoint 2 && $z) { ... }
And since it happens at lexer/parser time, it will still execute here:
if (0 && parser_breakpoint 3) { ... }


Package Version Architecture Repository
perl-Devel-GDB-Parser-Breakpoint - - -


Name Value
/usr/share/perl5 -
perl(Devel/GDB/ >= 0.020
perl(Parse/ >= 0.060
rpmlib(PayloadIsLzma) -


Name Value
perl(Devel/GDB/Parser/ = 0.020
perl-Devel-GDB-Parser-Breakpoint = 0.02-alt1


Type URL
Binary Package perl-Devel-GDB-Parser-Breakpoint-0.02-alt1.noarch.rpm
Source Package perl-Devel-GDB-Parser-Breakpoint-0.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Devel-GDB-Parser-Breakpoint rpm package:
    # sudo apt-get install perl-Devel-GDB-Parser-Breakpoint



See Also

Package Description
perl-Devel-GDB-Reflect-0.2-alt1.noarch.rpm Reflection API for GDB/C++
perl-Devel-GDB-Reflect-scripts-0.2-alt1.noarch.rpm Devel-GDB-Reflect scripts
perl-Devel-Git-MultiBisect-0.12-alt1.noarch.rpm Study test output over a range of git commits
perl-Devel-GlobalPhase-0.003003-alt1.noarch.rpm Detect perl's global phase on older perls
perl-Devel-Graph-0.12-alt1.noarch.rpm Turn Perl code into a graphical flowchart
perl-Devel-INC-Sorted-0.03-alt1.noarch.rpm perl module Devel-INC-Sorted
perl-Devel-InPackage-0.01-alt1.noarch.rpm scan a file for package declarations or determine which package a line belongs to
perl-Devel-InheritNamespace-0.00003-alt1.noarch.rpm Inherit An Entire Namespace
perl-Devel-IntelliPerl-0.04-alt1.noarch.rpm Auto-completion for Perl
perl-Devel-InterpreterSize-0.01-alt1.noarch.rpm Get rough sizes for the memory useage of perl
perl-Devel-Isa-Explainer-0.002001-alt1.noarch.rpm Pretty Print Hierarchies of Subs in Packages
perl-Devel-Isa-Explainer-scripts-0.002001-alt1.noarch.rpm Devel-Isa-Explainer scripts
perl-Devel-JSON-1.001-alt1.noarch.rpm Easy JSON output for one-liners
perl-Devel-KYTProf-0.9993-alt1.noarch.rpm Simple profiler
perl-Devel-KYTProf-Logger-XRay-0.04-alt1.noarch.rpm Logger for AWS::XRay