We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e0640 commit 7cff9cbCopy full SHA for 7cff9cb
1 file changed
Modules/_remote_debugging/threads.c
@@ -34,11 +34,11 @@ iterate_threads(
34
35
if (0 > _Py_RemoteDebug_PagedReadRemoteMemory(
36
&unwinder->handle,
37
- unwinder->interpreter_addr + (uintptr_t)unwinder->debug_offsets.interpreter_state.threads_main,
+ unwinder->interpreter_addr + (uintptr_t)unwinder->debug_offsets.interpreter_state.threads_head,
38
sizeof(void*),
39
&thread_state_addr))
40
{
41
- set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read main thread state");
+ set_exception_cause(unwinder, PyExc_RuntimeError, "Failed to read threads head");
42
return -1;
43
}
44
0 commit comments