Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

KES

unread,
Dec 6, 2015, 2:45:02 PM12/6/15
to debu...@perl.org
Hi.

I hope you will not be angre If I send links:

http://paste.scsys.co.uk/502493
on the line 67 I expect:
FROM: main - ./t3.pl - 11


This example shows that the client code get info about DB package, but it should not
http://paste.scsys.co.uk/502494
You can see that when program is just run 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 is not defined in DB package)
but if I add definition of &DB::sub the 'lsub' starts to work.

It seems perl internally do not apply all magic to '&DB::lsub' as it do for '&DB::sub'
0 new messages