Devel::hdb::App::SourceFile - Get Perl source for the running program
Registers routes for getting the Perl source code for files used by the debugged program.
Get a list of all the source code files loaded by the application. This list also contains the files used by the debugger, and the file-like entities for "eval"ed strings.
Returns 200 an a JSON-encoded array containing hashes with these keys: filename => Pathname of the file href => URL to get the source code information for this file
Get source code information for the given file. It returns a JSON-encoded array of arrays. The first-level array has one element for each line in the file. The second-level elements each have 2 elements. The first is the Perl source for that line in the file. The second element is 0 if the line is not breakable, and true if it is.
Devel::hdb
Anthony Brummett <brummett@cpan.org>
Copyright 2014, Anthony Brummett. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.
To install Devel::hdb, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::hdb
CPAN shell
perl -MCPAN -e shell install Devel::hdb
For more information on module installation, please visit the detailed CPAN module installation guide.