Can not get required info from 'caller' at 'DB::sub'

2015-12-06 Thread KES
http://paste.scsys.co.uk/502483 Also it is strange to see the DB::DB is called twice for t3.pl (Notice the line 82, 85 at the paste) The twice call does not occour if I remove 'caller' from t3.pl:4. Like: print 'FROM:'; The output: ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

DB::lsub broke 'caller' results for main programm

2015-12-06 Thread KES
the result is: main ./t3.pl 13 main ./t3.pl 14 but with -d flag: DB /home/kes/work/projects/perl_libs/Devel/KP.pm 41 main ./t3.pl 14 I think this info is relative to described above: I can not define in debugger module 'lsub' subroutine alone. It is not called at all (like that sub