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 f4f1020 commit 141f623Copy full SHA for 141f623
1 file changed
Modules/_remote_debugging/frames.c
@@ -580,6 +580,14 @@ collect_frames_with_cache(
580
return full_hit < 0 ? -1 : 0;
581
}
582
583
+ assert(ctx->chunks != NULL);
584
+
585
+ if (ctx->chunks->count == 0) {
586
+ if (copy_stack_chunks(unwinder, ctx->thread_state_addr, ctx->chunks) < 0) {
587
+ PyErr_Clear();
588
+ }
589
590
591
Py_ssize_t frames_before = PyList_GET_SIZE(ctx->frame_info);
592
593
if (process_frame_chain(unwinder, ctx) < 0) {
0 commit comments