Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > cd14cddf3b3ceaf1193157472227757a > files > 408

parrot-doc-1.6.0-1mdv2010.0.i586.rpm

=head1 NAME

debug.ops - Debugging Opcodes


=cut

=head1 DESCRIPTION

Parrot debugger


=cut

=head1 HISTORY

Initial version by Daniel Grunblatt on 2002.5.19


=cut

=head2 Parrot debug operations

=over 4


=cut

=item B<debug_init>()

Init the Parrot debugger, must be called before any other debug op.


=cut

=item B<debug_load>(inconst STR)

Load a Parrot source file for the current program.


=cut

=item B<debug_break>()

Break execution and drop into the debugger.
If we are already into the debugger and is the first time we are
called set a breakpoint.

When you re run/continue the program begin debugged it will pay
no attention to the debug ops.

RT #42377: clone the interpreter to allow people to play into the
debugger and then continue the normal execution of the program.


=cut

=item B<debug_print>()

Print all the Parrot registers at once.


=cut

=item B<backtrace>()

Print a backtrace.


=cut

=item B<getline>(out INT)

Get the current line number.


=cut

=item B<getfile>(out STR)

Get the name of the current file.


=cut

=back


=cut