MCPcopy Index your code
hub / github.com/nodejs/node / make_frame_proxy

Function make_frame_proxy

tools/inspector_protocol/jinja2/debug.py:66–77  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

64
65
66def make_frame_proxy(frame):
67 proxy = TracebackFrameProxy(frame)
68 if tproxy is None:
69 return proxy
70 def operation_handler(operation, *args, **kwargs):
71 if operation in ('__getattribute__', '__getattr__'):
72 return getattr(proxy, args[0])
73 elif operation == '__setattr__':
74 proxy.__setattr__(*args, **kwargs)
75 else:
76 return getattr(proxy, operation)(*args, **kwargs)
77 return tproxy(TracebackType, operation_handler)
78
79
80class ProcessedTraceback(object):

Callers 1

translate_exceptionFunction · 0.85

Calls 1

TracebackFrameProxyClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…