more useful options | |
PerlMonks |
Re: Perl Debugger: setting a breakpoint in another file with 'b'by hexcoder (Curate) |
on May 15, 2015 at 23:20 UTC ( [id://1126826]=note: print w/replies, xml ) | Need Help?? |
If you want to stop at a function mod::subname in a not-yet-loaded module, you can use the b postpone mod::subname [condition] debugger command. It will delay the setting of the breakpoint until the module has been loaded. The filename:linenumber syntax is not available, as far as I know. So b postpone UsefulModule::do_stuff should work. This is described in the book "Pro Perl Debugging" from Richard Foley and Andy Lester.
In Section
Seekers of Perl Wisdom
|
|