From 2e412e683b6091d5b60ada56ca0eef970b806485 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 8 Aug 2024 12:02:00 +0200 Subject: [PATCH] Tools: improve gdb frame filter for lazy functions --- tools/debug/gdb/blender_gdb_extension.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/debug/gdb/blender_gdb_extension.py b/tools/debug/gdb/blender_gdb_extension.py index 523c96de72d..3a78b14dfd8 100644 --- a/tools/debug/gdb/blender_gdb_extension.py +++ b/tools/debug/gdb/blender_gdb_extension.py @@ -476,9 +476,8 @@ class LazyFunctionEvalFilter: @staticmethod def frame_to_name(frame): function_name = frame.function() - if function_name.startswith( - "blender::fn::lazy_function::LazyFunction::execute" - ): + if (function_name.startswith("blender::fn::lazy_function::LazyFunction::execute") + or function_name.startswith("blender::fn::lazy_function::Executor::push_to_task_pool")): return "Execute Lazy Function"