From 4bfa9dd455bbe84d636226417793f09902078670 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Thu, 30 Apr 2020 12:20:05 +0200 Subject: [PATCH] [debug][bindings][python] drop `print_this` command. --- llvmDebugInfoC/src/scripts/konan_lldb.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvmDebugInfoC/src/scripts/konan_lldb.py b/llvmDebugInfoC/src/scripts/konan_lldb.py index 07d809790c4..41fdd2049bd 100644 --- a/llvmDebugInfoC/src/scripts/konan_lldb.py +++ b/llvmDebugInfoC/src/scripts/konan_lldb.py @@ -378,10 +378,6 @@ class KonanProxyTypeProvider: def __getattr__(self, item): return getattr(self._proxy, item) -def print_this_command(debugger, command, result, internal_dict): - pthis = lldb.frame.FindVariable('') - print(pthis) - def clear_cache_command(debugger, command, result, internal_dict): SYNTHETIC_OBJECT_LAYOUT_CACHE.clear() @@ -483,7 +479,6 @@ def __lldb_init_module(debugger, _): --category Kotlin\ ') debugger.HandleCommand('type category enable Kotlin') - debugger.HandleCommand('command script add -f {}.print_this_command print_this'.format(__name__)) debugger.HandleCommand('command script add -f {}.clear_cache_command clear_kotlin_cache'.format(__name__)) debugger.HandleCommand('command script add -f {}.type_name_command type_name'.format(__name__)) debugger.HandleCommand('command script add -f {}.type_by_address_command type_by_address'.format(__name__))