Skip to content

Commit 1981f50

Browse files
Fix tracing
1 parent 7d4f866 commit 1981f50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Python/ceval_macros.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ do { \
227227

228228
#define TRACING_DISPATCH() \
229229
{ \
230+
if (tstate->c_tracefunc || tstate->c_profilefunc) { \
231+
DISPATCH(); \
232+
} \
230233
assert(frame->stackpointer == NULL); \
231234
RECORD_TRACE_NO_DISPATCH(); \
232235
NEXTOPARG(); \

0 commit comments

Comments
 (0)