Home
last modified time | relevance | path

Searched refs:settrace (Results 1 – 25 of 50) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_sys_settrace.py180 sys.settrace(tracefunc)
188 sys.settrace(tracefunc)
329 self.addCleanup(sys.settrace, sys.gettrace())
350 sys.settrace(tracer.trace)
352 sys.settrace(None)
362 sys.settrace(None)
367 sys.settrace(None)
374 sys.settrace(fn)
378 sys.settrace(None)
417 sys.settrace(tracer.traceWithGenexp)
[all …]
Dtest_scope.py508 self.addCleanup(sys.settrace, sys.gettrace())
509 sys.settrace(lambda a,b,c:None)
548 self.addCleanup(sys.settrace, sys.gettrace())
549 sys.settrace(tracer)
551 sys.settrace(None)
553 self.assertRaises(TypeError, sys.settrace)
Dtest_trace.py121 self.addCleanup(sys.settrace, sys.gettrace())
231 self.addCleanup(sys.settrace, sys.gettrace())
258 self.addCleanup(sys.settrace, sys.gettrace())
265 sys.settrace(self._saved_tracefunc)
325 self.addCleanup(sys.settrace, sys.gettrace())
352 self.addCleanup(sys.settrace, sys.gettrace())
Daudit-tests.py212 old = sys.settrace(trace)
233 sys.settrace(old)
Dtest_threading.py750 sys.settrace(noop_trace)
753 threading.settrace(noop_trace)
765 sys.settrace(old_trace)
Dtest_pdb.py35 sys.settrace(self.orig_trace)
Dtest_bdb.py430 sys.settrace(self._original_tracer)
/external/python/cpython2/Lib/test/
Dtest_sys_settrace.py130 sys.settrace(tracefunc)
138 sys.settrace(tracefunc)
282 sys.settrace(tracer.trace)
284 sys.settrace(None)
294 sys.settrace(None)
299 sys.settrace(None)
306 sys.settrace(fn)
310 sys.settrace(None)
345 sys.settrace(tracer.traceWithGenexp)
347 sys.settrace(None)
[all …]
Dtest_scope.py518 sys.settrace(lambda a,b,c:None)
528 sys.settrace(None)
559 sys.settrace(tracer)
561 sys.settrace(None)
563 self.assertRaises(TypeError, sys.settrace)
Dtest_threading.py751 sys.settrace(noop_trace)
754 threading.settrace(noop_trace)
765 sys.settrace(old_trace)
/external/python/cpython2/Lib/
Dbdb.py225 sys.settrace(self.trace_dispatch)
232 sys.settrace(None)
242 sys.settrace(None)
396 sys.settrace(self.trace_dispatch)
405 sys.settrace(None)
414 sys.settrace(self.trace_dispatch)
423 sys.settrace(None)
433 sys.settrace(self.trace_dispatch)
441 sys.settrace(None)
Dtrace.py70 _settrace = sys.settrace
73 sys.settrace(None)
76 threading.settrace(func)
77 sys.settrace(func)
80 sys.settrace(None)
81 threading.settrace(None)
521 sys.settrace(self.globaltrace)
526 sys.settrace(None)
Dthreading.py100 def settrace(func): function
795 _sys.settrace(_trace_hook)
Dpdb.py713 sys.settrace(None)
721 sys.settrace(self.trace_dispatch)
/external/python/cpython3/Lib/
Dbdb.py334 sys.settrace(self.trace_dispatch)
345 sys.settrace(None)
359 sys.settrace(None)
578 sys.settrace(self.trace_dispatch)
585 sys.settrace(None)
598 sys.settrace(self.trace_dispatch)
605 sys.settrace(None)
620 sys.settrace(self.trace_dispatch)
628 sys.settrace(None)
Dtrace.py447 threading.settrace(self.globaltrace)
448 sys.settrace(self.globaltrace)
453 sys.settrace(None)
454 threading.settrace(None)
459 sys.settrace(self.globaltrace)
464 sys.settrace(None)
Dthreading.py68 def settrace(func): function
949 _sys.settrace(_trace_hook)
Dpdb.py1097 sys.settrace(None)
1109 sys.settrace(self.trace_dispatch)
/external/python/cpython3/Lib/test/crashers/
Dtrace_at_recursion_limit.py25 sys.settrace(g)
/external/llvm-project/lldb/examples/python/
Dpytracer.py223 sys.settrace(the_tracer_entrypoint)
227 sys.settrace(None)
/external/autotest/contrib/
Dcoverage.py441 sys.settrace(self.t)
443 threading.settrace(self.t)
449 sys.settrace(None)
451 threading.settrace(None)
/external/python/cpython3/Doc/library/
Dsys.rst59 When tracing is enabled (see :func:`settrace`), Python hooks are only
737 Get the trace function as set by :func:`settrace`.
1233 system's trace function (see :func:`settrace`), but it is called with different events,
1301 .. function:: settrace(tracefunc)
1310 :func:`settrace` for each thread being debugged or use :func:`threading.settrace`.
1327 like ``settrace(None)`` is called.
1371 the current frame, which :func:`settrace` doesn't do. Note that in order
1373 with :func:`settrace` in order to enable the runtime tracing machinery,
1380 .. audit-event:: sys.settrace "" sys.settrace
1384 The :func:`settrace` function is intended only for implementing debuggers,
/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py139 sys.settrace(trace_fxn)
/external/python/cpython2/Doc/library/
Dsys.rst489 Get the trace function as set by :func:`settrace`.
860 system's trace function (see :func:`settrace`), but it is called with different events,
905 .. function:: settrace(tracefunc)
914 :func:`settrace` for each thread being debugged.
961 The :func:`settrace` function is intended only for implementing debuggers,
/external/python/cpython3/Lib/test/test_import/
D__init__.py449 sys.settrace(delay_has_deadlock)
456 sys.settrace(None)

12