From 624ed9853da19c70967f00745747a2ddc211dd60 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 19 Oct 2020 12:48:49 +0200 Subject: [PATCH] [debug][bindings][python]pass string limits deeper in case of arrayprinting --- kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py index 28357426204..95c5d58e312 100644 --- a/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py +++ b/kotlin-native/llvmDebugInfoC/src/scripts/konan_lldb.py @@ -364,7 +364,9 @@ class KonanArraySyntheticProvider(KonanHelperProvider): return result def to_string(self): - return [self._deref_or_obj_summary(i, self._internal_dict.copy()) for i in range(min(ARRAY_TO_STRING_LIMIT, self._children_count))] + internal_dict = self._internal_dict.copy() + internal_dict["to_string_depth"] = self._to_string_depth - 1 + return [self._deref_or_obj_summary(i, internal_dict) for i in range(min(ARRAY_TO_STRING_LIMIT, self._children_count))] class KonanProxyTypeProvider: