aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2025-04-23 20:59:41 +0100
committerGitHub <noreply@github.com>2025-04-23 20:59:41 +0100
commit99b13775dab0f111165d59099027549098f61023 (patch)
tree1299bbc8c25c04f4dc9246e17bcadfb2a3c4e170 /Include
parent4b4b9fbb06198f65424ed5be06c59f8b2801b99b (diff)
downloadcpython-99b13775dab0f111165d59099027549098f61023.tar.gz
cpython-99b13775dab0f111165d59099027549098f61023.zip
gh-131591: Check for remote debug in PyErr_CheckSignals (#132853)
For the same reasons as running the GC, this will allow sections that run in native code for long periods without executing bytecode to also run the remote debugger protocol without having to wait until bytecode is executed Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_ceval.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h
index 96ba54b274c..115dd40b8bd 100644
--- a/Include/internal/pycore_ceval.h
+++ b/Include/internal/pycore_ceval.h
@@ -373,6 +373,10 @@ PyAPI_FUNC(_PyStackRef) _PyFloat_FromDouble_ConsumeInputs(_PyStackRef left, _PyS
#endif
#endif
+#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
+extern int _PyRunRemoteDebugger(PyThreadState *tstate);
+#endif
+
#ifdef __cplusplus
}
#endif