Add ruby_globals to lldb for easier debugging (#8041)

This commit is contained in:
Jemma Issroff 2023-07-07 15:55:58 -04:00 committed by GitHub
parent 9e3a5cc54f
commit dadf17818c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-07-07 19:56:17 +00:00
Merged-By: jemmaissroff

View File

@ -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)