Skip to content

Commit

Permalink
Add a nqp::debugnoop opcode, which does nothing but you can put a bre…
Browse files Browse the repository at this point in the history
…akpoint on it.
  • Loading branch information
sorear committed Jun 18, 2013
1 parent aefda07 commit ca52770
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java
Original file line number Diff line number Diff line change
Expand Up @@ -4344,4 +4344,8 @@ public static void continuationinvoke(SixModelObject cont, SixModelObject arg, T

root.resume();
}
/* noop, exists only so you can set a breakpoint in it */
public static SixModelObject debugnoop(SixModelObject in, ThreadContext tc) {
return in;
}
}

0 comments on commit ca52770

Please sign in to comment.