diff options
Diffstat (limited to 'coverage/ctracer/tracer.c')
-rw-r--r-- | coverage/ctracer/tracer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/coverage/ctracer/tracer.c b/coverage/ctracer/tracer.c index ac16b6b5..bfaa74ea 100644 --- a/coverage/ctracer/tracer.c +++ b/coverage/ctracer/tracer.c @@ -824,6 +824,10 @@ CTracer_trace(CTracer *self, PyFrameObject *frame, int what, PyObject *arg_unuse { int ret = RET_ERROR; + #if DO_NOTHING + return RET_OK; + #endif + #if WHAT_LOG || TRACE_LOG PyObject * ascii = NULL; #endif @@ -922,6 +926,10 @@ CTracer_call(CTracer *self, PyObject *args, PyObject *kwds) PyObject *ret = NULL; PyObject * ascii = NULL; + #if DO_NOTHING + CRASH + #endif + static char *what_names[] = { "call", "exception", "line", "return", "c_call", "c_exception", "c_return", |