Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Devel::GDB::Reflect 0.2

    Download button

    No screenshots available
    Downloads: 312  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Antal Novak | More programs
    Perl Artistic License / FREE
    May 8th, 2007, 18:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Devel::GDB::Reflect description

    Is a reflection API for GDB/C++.

    Devel::GDB::Reflect is a reflection API for GDB/C++.

    SYNOPSIS

    use Devel::GDB;
    use Devel::GDB::Reflect;

    my $gdb = new Devel::GDB( -file => $foo );
    my $reflector = new Devel::GDB::Reflect( $gdb );

    print $gdb->get( "b foo.c:123" );
    $gdb->print( "myVariable" );

    Devel::GDB::Reflect provides a reflection API for GDB/C++, which can be used to recursively print the contents of STL data structures (vector, set, map, etc.) within a GDB session. It is not limited to STL, however; you can write your own delegates for printing custom container types.

    The module implements the functionality used by the gdb++ script, which serves as a wrapper around GDB. You should probably familiarize yourself with the basic functionality of this script first, before diving into the gory details presented here.

    Global Variables

    The following global variables control the behavior of the "print" method.

    $Devel::GDB::Reflect::INDENT

    The number of spaces to indent at each level of recursion. Defaults to 4.

    $Devel::GDB::Reflect::MAX_DEPTH

    The maximum recursion depth. Defaults to 5.

    $Devel::GDB::Reflect::MAX_WIDTH

    The maximum number of elements to show from a given container. Defaults to 10.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    C++ reflection API | GDB refelection API | Perl module | module | GDB | C++

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM