Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Un-bit-rot tracepoint show.

  • Loading branch information...
commit 342266a59c5d5af908775bae580d8f88538e1357 1 parent 66f7e15
@jnthn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Debugger/UI/CommandLine.pm
View
4 lib/Debugger/UI/CommandLine.pm
@@ -538,9 +538,9 @@ my class DebugState {
}
when /^ 'tp' <.ws> 'show' [ <.ws> <p=&flpos> ]? $/ {
if $<p> {
- my $file = $<p>[0]<file> ?? ~$<p>[0]<file> !! $cur_file;
+ my $file = $<p><file> ?? ~$<p><file> !! $cur_file;
if %tracepoints{self.normalize_filename($file)} -> @tps {
- if @tps.first(*.line == +$<p>[0]<line>) -> $tp {
+ if @tps.first(*.line == +$<p><line>) -> $tp {
self.render_one_tracepoint($tp);
}
else {
Please sign in to comment.
Something went wrong with that request. Please try again.