Skip to content

Commit 2e622fd

Browse files
committed
More debugging
1 parent 69ed0ff commit 2e622fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/_remote_debugging_module.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,9 @@ parse_coro_chain(
921921

922922
PyObject* name = NULL;
923923

924+
int8_t frame_state = GET_MEMBER(int8_t, gen_object, unwinder->debug_offsets.gen_object.gi_frame_state);
925+
printf("Frame state: %d\n", frame_state);
926+
924927
// Parse the previous frame using the gi_iframe from local copy
925928
uintptr_t prev_frame;
926929
uintptr_t gi_iframe_addr = coro_address + unwinder->debug_offsets.gen_object.gi_iframe;

0 commit comments

Comments
 (0)