From 557233a90ff623c7dd00384a08471e5a5514f688 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Mon, 11 Dec 2023 09:43:24 +0900 Subject: [PATCH] fix bt on nested break points `di_body()` doesn't filter C locations. --- ext/debug/debug.c | 16 ++++++++++++---- test/console/nested_break_test.rb | 27 ++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/ext/debug/debug.c b/ext/debug/debug.c index d7bb3e2ab..ad8431cef 100644 --- a/ext/debug/debug.c +++ b/ext/debug/debug.c @@ -62,15 +62,23 @@ di_body(const rb_debug_inspector_t *dc, void *ptr) long i; for (i=1; i/) # TODO: can be changed type 'c' assert_line_text(/143/)