Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_sys_settrace.py150 sys.settrace(tracefunc)
158 sys.settrace(tracefunc)
300 self.addCleanup(sys.settrace, sys.gettrace())
321 sys.settrace(tracer.trace)
323 sys.settrace(None)
333 sys.settrace(None)
338 sys.settrace(None)
345 sys.settrace(fn)
349 sys.settrace(None)
384 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.py105 self.addCleanup(sys.settrace, sys.gettrace())
196 self.addCleanup(sys.settrace, sys.gettrace())
223 self.addCleanup(sys.settrace, sys.gettrace())
230 sys.settrace(self._saved_tracefunc)
270 self.addCleanup(sys.settrace, sys.gettrace())
297 self.addCleanup(sys.settrace, sys.gettrace())
Dtest_threading.py683 sys.settrace(noop_trace)
686 threading.settrace(noop_trace)
698 sys.settrace(old_trace)
Dtest_pdb.py34 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)
Dpickletester.py71 sys.settrace(None)
74 sys.settrace(original_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.py332 sys.settrace(self.trace_dispatch)
343 sys.settrace(None)
357 sys.settrace(None)
583 sys.settrace(self.trace_dispatch)
590 sys.settrace(None)
603 sys.settrace(self.trace_dispatch)
610 sys.settrace(None)
625 sys.settrace(self.trace_dispatch)
633 sys.settrace(None)
Dtrace.py446 threading.settrace(self.globaltrace)
447 sys.settrace(self.globaltrace)
452 sys.settrace(None)
453 threading.settrace(None)
458 sys.settrace(self.globaltrace)
463 sys.settrace(None)
Dthreading.py61 def settrace(func): function
912 _sys.settrace(_trace_hook)
Dpdb.py1093 sys.settrace(None)
1105 sys.settrace(self.trace_dispatch)
/external/python/cpython3/Lib/test/crashers/
Dtrace_at_recursion_limit.py25 sys.settrace(g)
/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/Lib/test/libregrtest/
Dsave_env.py118 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/Doc/library/
Dsys.rst608 Get the trace function as set by :func:`settrace`.
1094 system's trace function (see :func:`settrace`), but it is called with different events,
1160 .. function:: settrace(tracefunc)
1169 :func:`settrace` for each thread being debugged.
1185 like ``settrace(None)`` is called.
1229 The :func:`settrace` function is intended only for implementing debuggers,
/external/python/cpython2/Misc/NEWS.d/
D2.6a2.rst8 sys.settrace is still active and happens to call threading.currentThread().
/external/python/cpython3/Lib/test/support/
D__init__.py1863 sys.settrace(None)
1866 sys.settrace(original_trace)

12