MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / trace

Function trace

tools/python-3.11.9-amd64/Lib/inspect.py:1753–1755  ·  view source on GitHub ↗

Return a list of records for the stack below the current exception.

(context=1)

Source from the content-addressed store, hash-verified

1751 return getouterframes(sys._getframe(1), context)
1752
1753def trace(context=1):
1754 """Return a list of records for the stack below the current exception."""
1755 return getinnerframes(sys.exc_info()[2], context)
1756
1757
1758# ------------------------------------------------ static version of getattr

Callers 3

traceMethod · 0.85
traceMethod · 0.85
traceMethod · 0.85

Calls 1

getinnerframesFunction · 0.85

Tested by

no test coverage detected