MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_py_backtrace

Function get_py_backtrace

imperative/python/src/backtrace.cpp:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220std::string get_py_backtrace() {
221 auto frame = PyEval_GetFrame();
222 return get_frameinfo_from_pyframe(frame)->traceback();
223}
224
225} // namespace mgb::imperative::python

Callers

nothing calls this directly

Calls 2

tracebackMethod · 0.80

Tested by

no test coverage detected