File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1418,6 +1418,11 @@ always available.
1418
1418
1419
1419
``'c_exception' ``
1420
1420
A C function has raised an exception. *arg * is the C function object.
1421
+
1422
+ .. note ::
1423
+ The same tracing mechanism is used for :func: `setprofile ` than :func: `settrace `.
1424
+ To trace calls with :func: `setprofile ` inside a tracing function (e.g. in a
1425
+ debugger breakpoint) see :func: `call_tracing `.
1421
1426
1422
1427
.. function :: setrecursionlimit(limit)
1423
1428
@@ -1478,6 +1483,10 @@ always available.
1478
1483
1479
1484
If there is any error occurred in the trace function, it will be unset, just
1480
1485
like ``settrace(None) `` is called.
1486
+
1487
+ .. note ::
1488
+ Tracing is disabled while calling the trace function (e.g. a function set by
1489
+ :func: `settrace ` or :func: `setprofile `). For recursive tracing see :func: `call_tracing `.
1481
1490
1482
1491
The events have the following meaning:
1483
1492
You can’t perform that action at this time.
0 commit comments