From dadf17818cc962707f847435bd9f359850ac0d1c Mon Sep 17 00:00:00 2001 From: Jemma Issroff Date: Fri, 7 Jul 2023 15:55:58 -0400 Subject: [PATCH] Add ruby_globals to lldb for easier debugging (#8041) --- misc/lldb_rb/rb_base_command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/lldb_rb/rb_base_command.py b/misc/lldb_rb/rb_base_command.py index d786a010b6..23c628971e 100644 --- a/misc/lldb_rb/rb_base_command.py +++ b/misc/lldb_rb/rb_base_command.py @@ -43,6 +43,7 @@ class RbBaseCommand(LLDBInterface): self.internal_dict = _internal_dict def __call__(self, debugger, command, exe_ctx, result): + self.ruby_globals = RbBaseCommand.lldb_init(debugger) self.build_environment(debugger) self.call(debugger, command, exe_ctx, result)