From f210ae6b142af58d8bc74ddce5723d554f5cb342 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Sat, 16 Dec 2023 19:23:15 -0600 Subject: [PATCH] fixed: allow for looser debugger breakpoint names --- interpreter/src/debug/debug_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/src/debug/debug_info.c b/interpreter/src/debug/debug_info.c index 86d882aa..daaa6220 100644 --- a/interpreter/src/debug/debug_info.c +++ b/interpreter/src/debug/debug_info.c @@ -294,7 +294,7 @@ bool debug_info_lookup_file_by_name(debug_info_t *info, char *name, debug_file_i if (!info || !info->has_debug_info) return false; bh_arr_each(debug_file_info_t, file, info->files) { - if (!strcmp(file->name, name)) { + if (bh_str_ends_with(file->name, name)) { *out = *file; return true; } -- 2.25.1