mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-20 20:55:42 +00:00
Load debugpy when possible to allow python debugging in-program
This commit is contained in:
@@ -36,6 +36,7 @@ extern "C" bool IsThreadBlocking(PyObject *global_handle);
|
||||
extern "C" void SetThreadBlocking(PyObject *global_handle, bool block);
|
||||
extern "C" void QueueDecRef(PyObject *obj);
|
||||
extern "C" void ProcessDecRefQueue();
|
||||
extern "C" PyObject *DoFunctionCall(PyObject *object, PyObject *args);
|
||||
|
||||
struct ExceptionData
|
||||
{
|
||||
@@ -246,7 +247,7 @@ struct varfunc
|
||||
|
||||
ProcessDecRefQueue();
|
||||
|
||||
PyObject *result = PyObject_Call(func, args, 0);
|
||||
PyObject *result = DoFunctionCall(func, args);
|
||||
|
||||
Py_DECREF(args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user