You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the call is to an lvalue subroutine, and &DB::lsub is defined &DB::lsub(args) is called instead, otherwise falling back to &DB::sub(args).
Description
when my debugger defines DB::sub and does not DB::lsub the next error occur:
Can't modify non-lvalue subroutine call of &DB::sub at
So if my debugger does not define DB::lsub subroutine then this is impossible to debug scripts with lvalue subroutines.
Probably perl should not try to debug lvalue subroutine call if required DB::lsub is not defined.
Just like debugging does not occur for ordinal subs if DB::sub is not defined
Or we should fix otherwise falling back to &DB::sub(args). part of the sentence, because falling back to DB::sub sub for DB::lsub is meaningless because of error
perl v5.24.1
The text was updated successfully, but these errors were encountered:
Where
https://metacpan.org/pod/perldebguts#Debugger-Internals
Description
when my debugger defines
DB::sub
and does notDB::lsub
the next error occur:So if my debugger does not define
DB::lsub
subroutine then this is impossible to debug scripts with lvalue subroutines.Probably perl should not try to debug lvalue subroutine call if required DB::lsub is not defined.
Just like debugging does not occur for ordinal subs if DB::sub is not defined
Or we should fix
otherwise falling back to &DB::sub(args).
part of the sentence, because falling back toDB::sub
sub forDB::lsub
is meaningless because of errorperl v5.24.1
The text was updated successfully, but these errors were encountered: