rakudo-debugger icon indicating copy to clipboard operation
rakudo-debugger copied to clipboard

consider changing line number display to at least show the user which line is active

Open jsoref opened this issue 8 years ago • 0 comments

+ htmlify.p6 (715 - 725)
|
|     say 'Writing html/language.html ...';
|     spurt 'html/language.html', p2h(pod-with-title(
|         'Perl 6 Language Documentation',
|         pod-table($*DR.lookup('language', :by<kind>).sort(*.name).map({[
|             pod-link(.name, .url),
|             .summary
|         ]}))
|     ), 'language');
|
|     my &summary;
>

As a user of a debugger, what I need to know is what line number should i use to set a breakpoint, and what line number am I on.

+ htmlify.p6:717
715|
716.     say 'Writing html/language.html ...';
717*     spurt 'html/language.html', p2h(pod-with-title(
718|         'Perl 6 Language Documentation',
719.         pod-table($*DR.lookup('language', :by<kind>).sort(*.name).map({[
720.             pod-link(.name, .url),
721|             .summary
722|         ]}))
723|     ), 'language');
724|
725.     my &summary;
>

Bonus points for showing the line I'm on (*) and the lines i can stop at (.).

jsoref avatar Jun 14 '16 13:06 jsoref