Skip to content

Commit

Permalink
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core/src/main/java/org/jruby/Ruby.java
Original file line number Diff line number Diff line change
@@ -3127,7 +3127,16 @@ public JavaProxyClassFactory getJavaProxyClassFactory() {
public class CallTraceFuncHook extends EventHook {
private RubyProc traceFunc;
private EnumSet<RubyEvent> interest =
EnumSet.allOf(RubyEvent.class);
EnumSet.of(
RubyEvent.C_CALL,
RubyEvent.C_RETURN,
RubyEvent.CALL,
RubyEvent.CLASS,
RubyEvent.END,
RubyEvent.LINE,
RubyEvent.RAISE,
RubyEvent.RETURN
);

public void setTraceFunc(RubyProc traceFunc) {
this.traceFunc = traceFunc;

0 comments on commit 46191a3

Please sign in to comment.