the module is being loaded inside an eval .. which I'm guessing is why the debugger never sees it load
No, still works for me:
$ perldoc -l File::Spec::Unix /usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm $ perl -de 'eval { require File::Spec }' Loading DB routines from perl5db.pl version 1.25 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): eval { require File::Spec } DB<1> b load /usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm Will stop on load of `/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm'. DB<2> c '/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm' loaded... File::Spec::Unix::(/usr/local/lib/perl5/5.8.4/File/Spec/Unix.pm:6): 6: $VERSION = '1.5'; DB<2> q
- tye
In reply to Re^2: debugger with b load "file" (!eval)
by tye
in thread debugger with b load "file"
by Japhering
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |