Skip to content

Commit 51eb759

Browse files
committed
FIXED: continue in trace mode after hitting a spy point.
This was broken when using Prolog defined tracing in recent rewrites.
1 parent 9f9b769 commit 51eb759

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pl-trace.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,8 @@ process_trace_action(DECL_LD LocalFrame frame, int port,
14641464

14651465
if ( PL_get_atom(action, &a) )
14661466
{ if ( a == ATOM_continue || a == ATOM_creep )
1467-
{ rval = PL_TRACE_ACTION_CONTINUE;
1467+
{ debugstatus.tracing = true;
1468+
rval = PL_TRACE_ACTION_CONTINUE;
14681469
} else if ( a == ATOM_nodebug )
14691470
{ rval = PL_TRACE_ACTION_CONTINUE;
14701471
*nodebugp = true;

0 commit comments

Comments
 (0)