MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / PP_Debug_Bytecode

Function PP_Debug_Bytecode

src/Base/PyTools.c:637–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635
636
637PyObject *
638PP_Debug_Bytecode(PyObject *codeobject, PyObject *moddict)
639{
640 int res = 0;
641 PyObject *presult = NULL;
642 fixPdbRetval(moddict);
643 res = PP_Run_Function( /* "pdb.runeval(codeobj, gdict, ldict)" */
644 "pdb", "runeval", /* accepts string|code, code=stmt|expr */
645 "O", &presult,
646 "(OOO)", codeobject, moddict, moddict);
647 return (res != 0) ? NULL : presult; /* null if error in run_function */
648}
649// NOLINTEND
650// clang-format on

Callers 1

PP_Run_BytecodeFunction · 0.85

Calls 2

fixPdbRetvalFunction · 0.85
PP_Run_FunctionFunction · 0.85

Tested by

no test coverage detected