Debugger: Disable value rendering in watches by default (KT-19084)

This commit is contained in:
Yan Zhulanow
2019-05-28 18:55:35 +09:00
parent 0f3d85716c
commit 4fe6431b0f
10 changed files with 23 additions and 9 deletions
@@ -13,4 +13,5 @@ fun main(args: Array<String>) {
val b = a.prop
}
// PRINT_FRAME
// PRINT_FRAME
// RENDER_DELEGATED_PROPERTIES
@@ -23,5 +23,7 @@ class MyDelegateThrowsException {
}
// PRINT_FRAME
// RENDER_DELEGATED_PROPERTIES
// SKIP: suppressedExceptions
// SKIP: stackTrace
@@ -24,5 +24,7 @@ class MyDelegateThrowsException {
// SHOW_KOTLIN_VARIABLES
// PRINT_FRAME
// RENDER_DELEGATED_PROPERTIES
// SKIP: suppressedExceptions
// SKIP: stackTrace
@@ -19,3 +19,4 @@ class MyDelegate {
}
// PRINT_FRAME
// RENDER_DELEGATED_PROPERTIES
@@ -17,5 +17,5 @@ class MyDelegate {
operator fun getValue(t: Any?, p: KProperty<*>): Int = 1
}
// RENDER_DELEGATED_PROPERTIES: false
// PRINT_FRAME
// RENDER_DELEGATED_PROPERTIES
// PRINT_FRAME
@@ -6,8 +6,9 @@ Compile bytecode for args.size
frame = main:9, DelegatedPropertyInClassWoRendererKt {delegatedPropertyInClassWoRenderer}
local = args: java.lang.String[] = {java.lang.String[0]@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 6)
local = a: delegatedPropertyInClassWoRenderer.A = {delegatedPropertyInClassWoRenderer.A@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 7)
field = prop: int = {delegatedPropertyInClassWoRenderer.MyDelegate@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 13)
field = prop$delegate: delegatedPropertyInClassWoRenderer.MyDelegate = {delegatedPropertyInClassWoRenderer.MyDelegate@uniqueID} (sp = delegatedPropertyInClassWoRenderer.kt, 13)
- Class has no fields
field = prop: int = 1 (sp = delegatedPropertyInClassWoRenderer.kt, 13)
Disconnected from the target VM
Process finished with exit code 0
@@ -21,6 +21,7 @@ fun main() {
// PRINT_FRAME
// SHOW_KOTLIN_VARIABLES
// RENDER_DELEGATED_PROPERTIES
// EXPRESSION: this
// RESULT: "abc": Ljava/lang/String;
@@ -11,6 +11,7 @@ suspend fun foo() {}
// PRINT_FRAME
// SHOW_KOTLIN_VARIABLES
// RENDER_DELEGATED_PROPERTIES
// EXPRESSION: a
// RESULT: 5: I