Debug-Client
view release on metacpan or search on metacpan
lib/Debug/Client.pm view on Meta::CPAN
it is safe to do so--that is, mostly for Boolean options.
It is always better to assign a specific value using = . The option can be
abbreviated, but for clarity probably should not be. Several options can be
set together.
See Configurable Options for a list of these.
$debugger->set_option();
=item get_options
o
Display all options.
$debugger->get_options();
=item get
Actually I think this is an internal method....
In SCALAR context will return all the buffer collected since the last command.
In LIST context will return ($prompt, $module, $file, $row, $content)
Where $prompt is the what the standard debugger uses for prompt. Probably not
too interesting.
$file and $row describe the location of the next instructions.
$content is the actual line - this is probably not too interesting as it is
in the editor. $module is just the name of the module in which the current
execution is.
=item get_filename
$debugger->get_filename();
=item get_row
$debugger->get_row();
=item module
$debugger->module();
=back
=head2 Internal Methods
=over 4
=item * _get
=item * _process_line
=item * _prompt
=item * _send
=item * _send_get
=back
=head1 BUGS AND LIMITATIONS
If you get any issues installing, try install L<Term::ReadLine::Gnu> first.
Warning if you use List request you may get spurious results.
When using against perl5db.pl v1.35 list mode gives an undef response, also
leading single quote now correct.
Tests are skipped for list mode against v1.35 now.
Debug::Client 0.12 tests are failing, due to changes in perl debugger,
when using perl5db.pl v1.34
Debug::Client 0.13_01 skips added to failing tests.
c [line|sub]
Continue, optionally inserting a one-time-only breakpoint at the specified
line or subroutine.
c is now ignoring options [line|sub]
and just performing c on it's own
I<Warning sub listen has bean deprecated>
Has bean deprecated since 0.13_04 and all future version starting with v0.14
Perl::Critic Error Subroutine name is a homonym for built-in function
Use $debugger->listener instead
It will work against perl 5.17.6-7 with rindolf patch 7a0fe8d applied for
watches
=head1 AUTHORS
Kevin Dawson E<lt>bowtie@cpan.orgE<gt>
Gabor Szabo E<lt>gabor@szabgab.comE<gt>
=head2 CONTRIBUTORS
Breno G. de Oliveira E<lt>garu at cpan.orgE<gt>
Ahmad M. Zawawi E<lt>ahmad.zawawi@gmail.comE<gt>
Mark Gardner E<lt>mjgardner@cpan.orgE<gt>
Wolfram Humann E<lt>whumann@cpan.orgE<gt>
Adam Kennedy E<lt>adamk@cpan.orgE<gt>
Alexandr Ciornii E<lt>alexchorny@gmail.comE<gt>
=head1 COPYRIGHT
Copyright 2008-2021 Gabor Szabo
Some parts Copyright E<copy> 2011-2014 Kevin Dawson and CONTRIBUTORS as listed above.
( run in 0.739 second using v1.01-cache-2.11-cpan-39bf76dae61 )