New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: implement $DB::method variable #16056
Comments
From @KES777Created by @KES777When I want to debug return values from some subroutine I analize $DB::sub [perldebguts](https://perldoc.perl.org/perldebguts.html) states:
But when execution of the next program reaches 11 line: $cat $test.pl sub t1 {}; package Test2; push @ISA, 'Test1'; package main; Test2->t1; # <<<<<<< 11 line The $DB::sub contain `Test1::t1` instead of expected `Test2::t2` This stops me to setup breakpoint without knowing the hierarchy of I understand that DOC describes **a subroutine call** but lack of `$DB::method` Please provide $DB::method variable with value of called method Perl Info
|
From @KES777 |
From zefram@fysh.orgKES wrote:
This mechanism behaves precisely as I would expect: Test1::t1 is in
At the point the call is made and invokes debugger hooks, there is no
I think that by "debugging object" you mean "the invocant". The ->can Please learn Perl before you report any more supposed bugs. Writing a -zefram |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#131674 (status was 'open')
Searchable as RT131674$
The text was updated successfully, but these errors were encountered: