diff options
author | Daniel Bailey <danieljabailey> | 2020-08-06 08:34:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-06 08:44:00 +0300 |
commit | e9c4325515aed9cb3a35183d4093cda2b6bffd9f (patch) | |
tree | f68c4d89f16257731ff7457371978b973da3f8a3 /source/blender/python/BPY_extern.h | |
parent | c5b6b3d82f56b6da1fce19b961fa444745dbc269 (diff) |
Python: include Python stack trace in the crash log
This helps Python developers troubleshoot errors when
Python causes a crash.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 5c6e0b0a308..5773f146dcc 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -55,6 +55,7 @@ void BPY_python_start(int argc, const char **argv); void BPY_python_end(void); void BPY_python_reset(struct bContext *C); void BPY_python_use_system_env(void); +void BPY_python_backtrace(FILE *file); /* global interpreter lock */ |