Devel::GDB::Reflect

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

Devel::GDB::Reflect Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Antal Novak
  • Publisher web site:
  • http://search.cpan.org/~afn/Devel-GDB-Reflect-0.2/lib/Devel/GDB/Reflect.pm

Devel::GDB::Reflect Tags


Devel::GDB::Reflect Description

Devel::GDB::Reflect 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 VariablesThe following global variables control the behavior of the "print" method.$Devel::GDB::Reflect::INDENTThe number of spaces to indent at each level of recursion. Defaults to 4.$Devel::GDB::Reflect::MAX_DEPTHThe maximum recursion depth. Defaults to 5.$Devel::GDB::Reflect::MAX_WIDTHThe maximum number of elements to show from a given container. Defaults to 10.Requirements:· Perl Requirements: · Perl


Devel::GDB::Reflect Related Software