// Remember the state of tracing and then turn it off.
boolean traceOn = ec.isTracingEnabled();
ec.setTracingEnabled(false);
Set<String> breakpoints = ec.getBreakpoints();
ec.clearBreakpoints();
Set<String> tracedFunctions = ec.getTracedFunctions();
// We want to go into a loop here in case
// we hit another breakpoint before the machine