Skip to content

Commit 329f549

Browse files
committed
Clarify comment
1 parent d23ca10 commit 329f549

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_remote_debugging_module.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,8 +2518,7 @@ process_frame_chain(
25182518
frame == NULL &&
25192519
// Bottommost frame is always native, so skip that one:
25202520
next_frame_addr &&
2521-
// If the next frame will be reported as a GC frame, then
2522-
// don't add an extra native frame below it:
2521+
// Only suppress native frames if GC tracking is enabled and the next frame will be a GC frame:
25232522
!(unwinder->gc && next_frame_addr == gc_frame))
25242523
{
25252524
_Py_DECLARE_STR(native, "<native>");

0 commit comments

Comments
 (0)