Python: include Python stack trace in the crash log

This helps Python developers troubleshoot errors when
Python causes a crash.
This commit is contained in:
Daniel Bailey
2020-08-06 15:34:55 +10:00
committed by Campbell Barton
parent c5b6b3d82f
commit e9c4325515
5 changed files with 31 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ void PyC_ObSpit(const char *name, PyObject *var);
void PyC_ObSpitStr(char *result, size_t result_len, PyObject *var);
void PyC_LineSpit(void);
void PyC_StackSpit(void);
void PyC_StackPrint(FILE *fp);
PyObject *PyC_ExceptionBuffer(void);
PyObject *PyC_ExceptionBuffer_Simple(void);
PyObject *PyC_Object_GetAttrStringArgs(PyObject *o, Py_ssize_t n, ...);