From 7e44cddbab2a64f5c16fb74a860080c1ca41799d Mon Sep 17 00:00:00 2001 From: Nikita Nazarov Date: Tue, 15 Jun 2021 22:55:59 +0300 Subject: [PATCH] Introduce the fragment compiler backend to the debugger infrastructure --- .../jetbrains/kotlin/test/TargetBackend.kt | 6 +- .../generators/tests/idea/GenerateTests.kt | 18 +- .../compilation/CodeFragmentCompiler.kt | 20 +- ...ateExpressionWithIRFragmentCompilerTest.kt | 14 + .../AbstractKotlinEvaluateExpressionTest.kt | 27 +- ...ateExpressionWithIRFragmentCompilerTest.kt | 14 + ...KotlinEvaluateExpressionTestGenerated.java | 53 +- ...onWithIRFragmentCompilerTestGenerated.java | 1323 +++++++++++++++++ .../debugger/test/KotlinDescriptorTestCase.kt | 20 +- ...KotlinEvaluateExpressionTestGenerated.java | 54 +- ...onWithIRFragmentCompilerTestGenerated.java | 1323 +++++++++++++++++ .../debugger/test/util/KotlinOutputChecker.kt | 4 +- .../multipleBreakpoints/clearCache.out | 1 + .../multipleBreakpoints/constructors.out | 3 +- .../multipleBreakpoints/exceptions.out | 1 + .../extensionMemberFunction.out | 1 + .../extensionMemberFunctionInObject.out | 1 + .../extensionMemberProperty.out | 1 + .../multipleBreakpoints/fieldVariable.out | 1 + .../funFromOuterClassInLamdba.out | 1 + .../multipleBreakpoints/initializer.out | 1 + .../invisibleDeclarations.out | 1 + .../isInsideInlineLambda.out | 3 +- .../multipleBreakpoints/lambdaParameters.out | 1 + .../library/customLibClassName.out | 1 + .../library/localFunInLibrary.out | 3 +- .../multipleBreakpoints/localFun.out | 3 +- .../multipleBreakpointsAtLine.out | 1 + .../multipleBreakpoints/mutations.out | 1 + .../nonCapturedVariables.out | 1 + .../privateMembersPriority.out | 1 + .../remappedParameterInInline.out | 1 + .../multipleBreakpoints/smartcasts.out | 3 +- .../multipleBreakpoints/thisLabels.out | 1 + .../multipleBreakpoints/whenEntry.out | 1 + .../withoutBodyFunctions.out | 1 + .../withoutBodyProperties.out | 1 + .../withoutBodyProperties2.out | 1 + .../withoutBodyTypeParameters.out | 1 + .../evaluation/singleBreakpoint/_kt.out | 1 + .../singleBreakpoint/abstractFunCall.out | 1 + ...essToOverridenPropertyWithBackingField.out | 1 + .../singleBreakpoint/annotationValue.out | 1 + .../singleBreakpoint/anonymousObjects.out | 1 + .../singleBreakpoint/arrayMethods.out | 1 + .../evaluation/singleBreakpoint/arrays.out | 1 + .../evaluation/singleBreakpoint/boxParam.out | 1 + .../singleBreakpoint/boxReturnValue.out | 1 + .../singleBreakpoint/callableBug.out | 1 + .../classFromAnotherPackage.out | 1 + .../singleBreakpoint/classObjectVal.out | 1 + .../singleBreakpoint/collections.out | 1 + .../evaluation/singleBreakpoint/color.kt | 11 + .../evaluation/singleBreakpoint/color.out | 8 + .../compilingEvaluator/ceAnonymousObject.out | 1 + .../ceAnonymousObjectCapturedInClosure.out | 1 + .../ceAnonymousObjectThisAsReceiver.out | 1 + .../compilingEvaluator/ceLambda.out | 1 + .../compilingEvaluator/ceLocalClass.out | 1 + .../ceLocalClassMembers.out | 1 + .../ceLocalClassWithSuperClass.out | 1 + .../compilingEvaluator/ceMembers.out | 1 + .../compilingEvaluator/ceObject.out | 1 + .../compilingEvaluator/ceSeveralLambdas.out | 1 + .../compilingEvaluator/ceSuperAccess.out | 1 + .../coroutines/anyUpdateInvokeStatic.out | 1 + .../coroutines/anyUpdateVariable.out | 1 + .../coroutines/capturedReceiverName.out | 1 + .../coroutines/primitivesCoertion.out | 1 + .../coroutines/stringUpdateInvokeStatic.out | 1 + .../coroutines/stringUpdateInvokeVirtual.out | 1 + .../coroutines/stringUpdatePutField.out | 1 + .../coroutines/stringUpdateVariable.out | 1 + .../createExpressionCastToBuiltIn.out | 1 + .../createExpressionWithArray.out | 1 + .../singleBreakpoint/dataClassCopy.out | 1 + .../defaultParameterValues.out | 1 + .../defaultParameterValues2.out | 1 + .../delegatedPropertyInOtherFile.out | 3 +- .../singleBreakpoint/delegatedVariables.out | 3 +- .../singleBreakpoint/dependentOnFile.out | 1 + .../evaluation/singleBreakpoint/doubles.out | 1 + .../evaluation/singleBreakpoint/enums.out | 1 + .../evaluation/singleBreakpoint/errors.out | 1 + .../singleBreakpoint/escapedNames.out | 1 + .../singleBreakpoint/experimentalApi.out | 1 + .../extraVariables/evDelegatedProperty.out | 1 + .../extractLocalVariables.out | 1 + .../singleBreakpoint/extractThis.out | 1 + .../singleBreakpoint/extractThisInTrait.out | 3 +- .../extractVariablesFromCall.out | 1 + .../singleBreakpoint/fieldGetters.out | 1 + .../singleBreakpoint/fileWithError.out | 1 + .../frame/capturedValues1.out | 2 +- .../singleBreakpoint/frame/catchVariable.out | 1 + .../frame/coroutineContextFun.out | 1 + .../frame/coroutineContextLambda.out | 1 + .../frame/coroutineContextWithoutSuspend.out | 1 + .../frame/defaultImplsMangling.out | 3 +- .../frame/delegatedPropertyInClass.out | 1 + ...elegatedPropertyInClassKotlinVariables.out | 1 + .../frame/frameClassObject.out | 1 + .../frame/frameClosingBracket.out | 1 + .../frame/frameExtFunExtFun.ir.out | 1 + .../frame/frameExtFunExtFun.out | 1 + .../frame/frameExtensionFun.out | 1 + .../frame/frameInlineArgument.out | 1 + .../frameInlineArgumentInsideInlineFun.out | 1 + .../singleBreakpoint/frame/frameInlineFun.out | 1 + .../frameInlineFunCallInsideInlineFun.out | 1 + ...eFunCallInsideInlineFunKotlinVariables.out | 1 + .../frame/frameInnerClass.out | 1 + .../frame/frameInnerLambda.ir.out | 1 + .../frame/frameInnerLambda.out | 1 + .../singleBreakpoint/frame/frameLambda.out | 1 + .../frame/frameLambdaNotUsed.out | 1 + .../singleBreakpoint/frame/frameObject.out | 1 + .../singleBreakpoint/frame/frameSharedVar.out | 1 + .../frame/frameSharedVarLocalVar.out | 1 + .../singleBreakpoint/frame/frameSimple.out | 1 + .../singleBreakpoint/frame/frameThis0.out | 1 + .../singleBreakpoint/frame/frameThis0Ext.out | 1 + .../frame/frameThis0This0.ir.out | 1 + .../frame/frameThis0This0.out | 1 + .../frame/hideContinuationThis.out | 1 + .../singleBreakpoint/frame/lambdaFun2.out | 1 + .../singleBreakpoint/frame/lambdaFun3.out | 3 +- .../singleBreakpoint/frame/lambdaFun4.out | 1 + .../frame/lambdaParameterMangling.out | 1 + .../frame/lambdaThisMangling.out | 1 + .../frame/localFunctionMangling.out | 1 + .../singleBreakpoint/frame/remapThis.out | 1 + .../frame/suspendContinuation.out | 1 + .../singleBreakpoint/funFromSuperClass.out | 1 + .../singleBreakpoint/functionDeclaration.out | 1 + .../functionWithBodyExpression.out | 1 + .../evaluation/singleBreakpoint/imports.out | 1 + .../singleBreakpoint/importsLambdaContext.out | 1 + .../inlineFunInMultiFilePackage.out | 1 + .../singleBreakpoint/inlineFunction.out | 1 + .../inlineMethodsInSignature.out | 2 +- .../singleBreakpoint/innerClass.out | 1 + .../singleBreakpoint/insertInBlock.out | 1 + .../internalFunctionEvaluate.out | 1 + .../singleBreakpoint/internalProperty.out | 1 + .../singleBreakpoint/javaContext/jcBlock.out | 1 + .../javaContext/jcImports.out | 1 + .../javaContext/jcLocalVariable.out | 1 + .../javaContext/jcMarkedObject.out | 1 + .../javaContext/jcProperty.out | 1 + .../singleBreakpoint/javaContext/jcSimple.out | 1 + .../singleBreakpoint/javaStaticMethods.out | 1 + .../evaluation/singleBreakpoint/kClass.out | 1 + ...kt12206BasePropertyWithoutBackingField.out | 1 + .../evaluation/singleBreakpoint/kt15259.out | 2 +- .../evaluation/singleBreakpoint/kt17514.out | 1 + .../evaluation/singleBreakpoint/kt22366.out | 1 + .../evaluation/singleBreakpoint/kt25220.out | 1 + .../evaluation/singleBreakpoint/kt25222.out | 1 + .../evaluation/singleBreakpoint/kt28087.out | 1 + .../evaluation/singleBreakpoint/kt29179.out | 3 +- .../evaluation/singleBreakpoint/kt31709.out | 1 + .../evaluation/singleBreakpoint/kt36404.out | 1 + .../kt5554OnlyIntsShouldBeCoerced.out | 1 + .../kt7046localVarInInline.out | 1 + .../labels/lCallOnLabeledObj.out | 1 + .../singleBreakpoint/labels/lIdentifier.out | 1 + .../labels/lSeveralLabels.out | 1 + .../singleBreakpoint/labels/lSimple.out | 1 + .../labels/ldifferentTypes.out | 1 + .../singleBreakpoint/lambdaToString.out | 1 + .../lambdas/destructuringParam.out | 3 +- .../lambdas/inlineFunctionalExpression.out | 1 + .../singleBreakpoint/lambdas/inlineLambda.out | 1 + .../lambdas/lambdaOnReturn.out | 1 + .../lambdas/lambdaOnSecondLine.out | 1 + .../lambdas/oneLineFunctionalExpression.out | 1 + .../lambdas/oneLineLambda.out | 1 + .../lambdas/twoLambdasOnOneLineFirst.out | 1 + .../lambdas/twoLambdasOnOneLineSecond.out | 1 + .../lambdas/underscoreNames.out | 1 + .../singleBreakpoint/localClass.out | 1 + .../localFunctionCapturedLocalVariable.out | 1 + .../localFunctionsWithReceivers.out | 3 +- .../singleBreakpoint/localVariables.out | 1 + .../singleBreakpoint/methodWithBreakpoint.out | 1 + .../multilineExpressionAtBreakpoint.out | 1 + .../nestedInlineArguments.out | 1 + .../singleBreakpoint/nonAssignmentLValue.out | 1 + .../evaluation/singleBreakpoint/nothing.out | 1 + .../singleBreakpoint/onClassHeader.out | 1 + .../evaluation/singleBreakpoint/onGetter.out | 1 + .../singleBreakpoint/onObjectHeader.ir.out | 1 + .../singleBreakpoint/onObjectHeader.out | 1 + .../evaluation/singleBreakpoint/package.out | 1 + .../parametersOfInlineFun.out | 1 + .../singleBreakpoint/privateClass.out | 1 + .../privateFieldInCompanion.out | 1 + .../singleBreakpoint/privateMember.out | 1 + ...ivatePropertyWithExplicitDefaultGetter.out | 1 + .../singleBreakpoint/protectedMember.out | 1 + .../singleBreakpoint/rawTypeskt11831.out | 1 + .../evaluation/singleBreakpoint/simple.out | 1 + .../singleBreakpoint/statements.out | 1 + .../singleBreakpoint/staticField.out | 1 + .../evaluation/singleBreakpoint/stdlib.out | 1 + .../singleBreakpoint/superCallsCaptured.out | 1 + .../singleBreakpoint/superCallsSimple.out | 1 + .../singleBreakpoint/suspendCalls.out | 1 + .../singleBreakpoint/synchronizedBlock.out | 1 + .../singleBreakpoint/typeParameterRef.out | 1 + .../singleBreakpoint/typedArray.out | 1 + .../singleBreakpoint/unboxParam.out | 1 + .../singleBreakpoint/unsafeCall.out | 1 + .../singleBreakpoint/valueParameterName.out | 1 + .../singleBreakpoint/variableAsFunction.out | 1 + .../evaluation/singleBreakpoint/vars.out | 1 + .../singleBreakpoint/whenEvaluation.out | 1 + .../evaluation/singleBreakpoint/color.kt | 11 + .../evaluation/singleBreakpoint/color.out | 8 + .../ceLocalClassMembers.out | 17 + .../compilingEvaluator/ceMembers.out | 14 + .../compilingEvaluator/ceSuperAccess.out | 14 + .../coroutines/capturedReceiverName.out | 11 + .../localFunctionCapturedLocalVariable.out | 9 + .../singleBreakpoint/suspendCalls.out | 8 + 226 files changed, 3140 insertions(+), 80 deletions(-) create mode 100644 idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt create mode 100644 idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt create mode 100644 idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java create mode 100644 idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java create mode 100644 idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt create mode 100644 idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.kt create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out create mode 100644 libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/suspendCalls.out diff --git a/compiler/test-infrastructure-utils/tests/org/jetbrains/kotlin/test/TargetBackend.kt b/compiler/test-infrastructure-utils/tests/org/jetbrains/kotlin/test/TargetBackend.kt index 0944ebc6542..7bc431ab7a8 100644 --- a/compiler/test-infrastructure-utils/tests/org/jetbrains/kotlin/test/TargetBackend.kt +++ b/compiler/test-infrastructure-utils/tests/org/jetbrains/kotlin/test/TargetBackend.kt @@ -21,7 +21,11 @@ enum class TargetBackend( WASM(true), ANDROID(false, JVM), ANDROID_IR(true, JVM_IR), - NATIVE(true); + NATIVE(true), + JVM_WITH_OLD_EVALUATOR(false), + JVM_IR_WITH_OLD_EVALUATOR(true), + JVM_WITH_IR_EVALUATOR(false), + JVM_IR_WITH_IR_EVALUATOR(true); val compatibleWith get() = compatibleWithTargetBackend ?: ANY } diff --git a/generators/idea-generator/tests/org/jetbrains/kotlin/generators/tests/idea/GenerateTests.kt b/generators/idea-generator/tests/org/jetbrains/kotlin/generators/tests/idea/GenerateTests.kt index a3c4b7e1224..b546879c680 100644 --- a/generators/idea-generator/tests/org/jetbrains/kotlin/generators/tests/idea/GenerateTests.kt +++ b/generators/idea-generator/tests/org/jetbrains/kotlin/generators/tests/idea/GenerateTests.kt @@ -241,13 +241,23 @@ fun main(args: Array) { } testClass { - model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest") - model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest") + model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest", targetBackend = TargetBackend.JVM_WITH_OLD_EVALUATOR) + model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest", targetBackend = TargetBackend.JVM_WITH_OLD_EVALUATOR) } testClass { - model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest", targetBackend = TargetBackend.JVM_IR) - model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest", targetBackend = TargetBackend.JVM_IR) + model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest", targetBackend = TargetBackend.JVM_IR_WITH_OLD_EVALUATOR) + model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest", targetBackend = TargetBackend.JVM_IR_WITH_OLD_EVALUATOR) + } + + testClass { + model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest", targetBackend = TargetBackend.JVM_WITH_IR_EVALUATOR) + model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest", targetBackend = TargetBackend.JVM_WITH_IR_EVALUATOR) + } + + testClass { + model("evaluation/singleBreakpoint", testMethod = "doSingleBreakpointTest", targetBackend = TargetBackend.JVM_IR_WITH_IR_EVALUATOR) + model("evaluation/multipleBreakpoints", testMethod = "doMultipleBreakpointsTest", targetBackend = TargetBackend.JVM_IR_WITH_IR_EVALUATOR) } testClass { diff --git a/idea/jvm-debugger/jvm-debugger-evaluation/src/org/jetbrains/kotlin/idea/debugger/evaluate/compilation/CodeFragmentCompiler.kt b/idea/jvm-debugger/jvm-debugger-evaluation/src/org/jetbrains/kotlin/idea/debugger/evaluate/compilation/CodeFragmentCompiler.kt index 024e3ea4340..7eb22a31808 100644 --- a/idea/jvm-debugger/jvm-debugger-evaluation/src/org/jetbrains/kotlin/idea/debugger/evaluate/compilation/CodeFragmentCompiler.kt +++ b/idea/jvm-debugger/jvm-debugger-evaluation/src/org/jetbrains/kotlin/idea/debugger/evaluate/compilation/CodeFragmentCompiler.kt @@ -5,6 +5,7 @@ package org.jetbrains.kotlin.idea.debugger.evaluate.compilation +import com.intellij.openapi.util.Key import org.jetbrains.kotlin.backend.common.output.OutputFile import org.jetbrains.kotlin.codegen.* import org.jetbrains.kotlin.codegen.CodeFragmentCodegen.Companion.getSharedTypeIfApplicable @@ -46,6 +47,17 @@ import org.jetbrains.kotlin.types.SimpleType import org.jetbrains.kotlin.utils.Printer class CodeFragmentCompiler(private val executionContext: ExecutionContext, private val status: EvaluationStatus) { + + companion object { + enum class FragmentCompilerBackend { + JVM, + JVM_IR + } + + val KOTLIN_EVALUATOR_FRAGMENT_COMPILER_BACKEND: Key = + Key.create("KOTLIN_EVALUATOR_FRAGMENT_COMPILER_BACKEND") + } + data class CompilationResult( val classes: List, val parameterInfo: CodeFragmentParameterInfo, @@ -84,7 +96,13 @@ class CodeFragmentCompiler(private val executionContext: ExecutionContext, priva val generationState = GenerationState.Builder( project, ClassBuilderFactories.BINARIES, moduleDescriptorWrapper, bindingContext, filesToCompile, compilerConfiguration - ).generateDeclaredClassFilter(GeneratedClassFilterForCodeFragment(codeFragment)).build() + ).apply { + val fragmentCompilerBackend = executionContext.debugProcess.getUserData(KOTLIN_EVALUATOR_FRAGMENT_COMPILER_BACKEND) + if (fragmentCompilerBackend == FragmentCompilerBackend.JVM_IR) { + codegenFactory(TODO("Not implemented yet: EE-IR Fragment Compiler")) + } + generateDeclaredClassFilter(GeneratedClassFilterForCodeFragment(codeFragment)) + }.build() val parameterInfo = CodeFragmentParameterAnalyzer(executionContext, codeFragment, bindingContext, status).analyze() val (classDescriptor, methodDescriptor) = createDescriptorsForCodeFragment( diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt new file mode 100644 index 00000000000..993eda7fb59 --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt @@ -0,0 +1,14 @@ +/* + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.idea.debugger.test + +import org.jetbrains.kotlin.idea.debugger.evaluate.compilation.CodeFragmentCompiler + +abstract class AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest : AbstractKotlinEvaluateExpressionTest() { + override fun useIrBackend(): Boolean = true + override fun fragmentCompilerBackend() = + CodeFragmentCompiler.Companion.FragmentCompilerBackend.JVM_IR +} diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionTest.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionTest.kt index dfca48230fa..7c9c0f0da75 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionTest.kt +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionTest.kt @@ -13,7 +13,9 @@ import com.intellij.debugger.engine.evaluation.TextWithImportsImpl import com.intellij.debugger.engine.evaluation.expression.EvaluatorBuilderImpl import com.intellij.debugger.impl.DebuggerContextImpl import com.intellij.debugger.impl.DebuggerContextImpl.createDebuggerContext +import com.intellij.debugger.impl.OutputChecker import com.intellij.debugger.ui.impl.watch.NodeDescriptorImpl +import com.intellij.openapi.application.ex.PathManagerEx.getTestDataPath import com.intellij.openapi.util.io.FileUtil import com.intellij.ui.treeStructure.Tree import com.intellij.xdebugger.impl.ui.tree.ValueMarkup @@ -23,6 +25,7 @@ import org.jetbrains.eval4j.Value import org.jetbrains.eval4j.jdi.asValue import org.jetbrains.kotlin.idea.KotlinFileType import org.jetbrains.kotlin.idea.debugger.evaluate.KotlinCodeFragmentFactory +import org.jetbrains.kotlin.idea.debugger.evaluate.compilation.CodeFragmentCompiler import org.jetbrains.kotlin.idea.debugger.test.preference.DebuggerPreferences import org.jetbrains.kotlin.idea.debugger.test.util.FramePrinter import org.jetbrains.kotlin.idea.debugger.test.util.FramePrinterDelegate @@ -33,7 +36,6 @@ import org.jetbrains.kotlin.test.InTextDirectivesUtils import org.jetbrains.kotlin.test.InTextDirectivesUtils.findLinesWithPrefixesRemoved import org.jetbrains.kotlin.test.InTextDirectivesUtils.findStringWithPrefixes import org.jetbrains.kotlin.test.KotlinBaseTest -import org.jetbrains.kotlin.test.TargetBackend import java.io.File import java.util.concurrent.ConcurrentHashMap import javax.swing.tree.TreeNode @@ -109,8 +111,6 @@ abstract class AbstractKotlinEvaluateExpressionTest : KotlinDescriptorTestCaseWi doOnBreakpoint { createDebugLabels(data.debugLabels) - val exceptions = linkedMapOf() - for ((expression, expected, kind) in data.fragments) { mayThrow(expression) { evaluate(this, expression, kind, expected) @@ -161,6 +161,11 @@ abstract class AbstractKotlinEvaluateExpressionTest : KotlinDescriptorTestCaseWi val contextElement = ContextUtil.getContextElement(debuggerContext)!! + evaluationContext.debugProcess.putUserData( + CodeFragmentCompiler.KOTLIN_EVALUATOR_FRAGMENT_COMPILER_BACKEND, + fragmentCompilerBackend() + ) + assert(KotlinCodeFragmentFactory().isContextAccepted(contextElement)) { val text = runReadAction { contextElement.text } "KotlinCodeFragmentFactory should be accepted for context element otherwise default evaluator will be called. " + @@ -223,12 +228,20 @@ abstract class AbstractKotlinEvaluateExpressionTest : KotlinDescriptorTestCaseWi } } + override fun initOutputChecker(): OutputChecker { + return KotlinOutputChecker( + getTestDataPath(), + testAppPath, + appOutputPath, + targetBackend(), + getExpectedOutputFile() + ) + } + override fun throwExceptionsIfAny() { if (exceptions.isNotEmpty()) { - val isIgnored = InTextDirectivesUtils.isIgnoredTarget( - if (useIrBackend()) TargetBackend.JVM_IR else TargetBackend.JVM, - getExpectedOutputFile() - ) + val outputFile = getExpectedOutputFile() + val isIgnored = outputFile.exists() && InTextDirectivesUtils.isIgnoredTarget(targetBackend(), outputFile) if (!isIgnored) { for (exc in exceptions.values) { diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt new file mode 100644 index 00000000000..45f74bf8a6d --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest.kt @@ -0,0 +1,14 @@ +/* + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.idea.debugger.test + +import org.jetbrains.kotlin.idea.debugger.evaluate.compilation.CodeFragmentCompiler + +abstract class AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest : AbstractKotlinEvaluateExpressionTest() { + override fun useIrBackend(): Boolean = false + override fun fragmentCompilerBackend() = + CodeFragmentCompiler.Companion.FragmentCompilerBackend.JVM_IR +} diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionTestGenerated.java b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionTestGenerated.java index 6e643a5f381..b81e40b0d4b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionTestGenerated.java +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionTestGenerated.java @@ -25,7 +25,7 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class SingleBreakpoint extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } @TestMetadata("abstractFunCall.kt") @@ -39,7 +39,7 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva } public void testAllFilesPresentInSingleBreakpoint() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("annotationValue.kt") @@ -97,6 +97,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.kt"); } + @TestMetadata("color.kt") + public void testColor() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt"); + } + @TestMetadata("dataClassCopy.kt") public void testDataClassCopy() throws Exception { runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.kt"); @@ -527,11 +532,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class CompilingEvaluator extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCompilingEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("ceAnonymousObject.kt") @@ -595,11 +600,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Coroutines extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("anyUpdateInvokeStatic.kt") @@ -648,11 +653,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class CreateExpression extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCreateExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("createExpressionCastToBuiltIn.kt") @@ -676,11 +681,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class ExtraVariables extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInExtraVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("evBreakpointOnPropertyDeclaration.kt") @@ -744,11 +749,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Frame extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInFrame() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("capturedValues1.kt") @@ -997,11 +1002,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class JavaContext extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInJavaContext() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("jcBlock.kt") @@ -1040,11 +1045,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Labels extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("lCallOnLabeledObj.kt") @@ -1078,11 +1083,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Lambdas extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("destructuringParam.kt") @@ -1141,11 +1146,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Renderer extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInRenderer() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("toStringRenderer.kt") @@ -1160,11 +1165,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class MultipleBreakpoints extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInMultipleBreakpoints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("clearCache.kt") @@ -1297,11 +1302,11 @@ public class IrKotlinEvaluateExpressionTestGenerated extends AbstractIrKotlinEva @RunWith(JUnit3RunnerWithInners.class) public static class Library extends AbstractIrKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR, testDataFilePath); + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_OLD_EVALUATOR, true); } @TestMetadata("customLibClassName.kt") diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java new file mode 100644 index 00000000000..2dc5660ccba --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/IrKotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java @@ -0,0 +1,1323 @@ +/* + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.idea.debugger.test; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; +import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TargetBackend; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.runner.RunWith; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@RunWith(JUnit3RunnerWithInners.class) +public class IrKotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SingleBreakpoint extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + @TestMetadata("abstractFunCall.kt") + public void testAbstractFunCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.kt"); + } + + @TestMetadata("accessToOverridenPropertyWithBackingField.kt") + public void testAccessToOverridenPropertyWithBackingField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.kt"); + } + + public void testAllFilesPresentInSingleBreakpoint() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("annotationValue.kt") + public void testAnnotationValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.kt"); + } + + @TestMetadata("anonymousObjects.kt") + public void testAnonymousObjects() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.kt"); + } + + @TestMetadata("arrayMethods.kt") + public void testArrayMethods() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.kt"); + } + + @TestMetadata("arrays.kt") + public void testArrays() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.kt"); + } + + @TestMetadata("boxParam.kt") + public void testBoxParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.kt"); + } + + @TestMetadata("boxReturnValue.kt") + public void testBoxReturnValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.kt"); + } + + @TestMetadata("breakpointInInlineFun.kt") + public void testBreakpointInInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/breakpointInInlineFun.kt"); + } + + @TestMetadata("callableBug.kt") + public void testCallableBug() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.kt"); + } + + @TestMetadata("classFromAnotherPackage.kt") + public void testClassFromAnotherPackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.kt"); + } + + @TestMetadata("classObjectVal.kt") + public void testClassObjectVal() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.kt"); + } + + @TestMetadata("collections.kt") + public void testCollections() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.kt"); + } + + @TestMetadata("color.kt") + public void testColor() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt"); + } + + @TestMetadata("dataClassCopy.kt") + public void testDataClassCopy() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.kt"); + } + + @TestMetadata("defaultParameterValues.kt") + public void testDefaultParameterValues() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.kt"); + } + + @TestMetadata("defaultParameterValues2.kt") + public void testDefaultParameterValues2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.kt"); + } + + @TestMetadata("delegatedPropertyInOtherFile.kt") + public void testDelegatedPropertyInOtherFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.kt"); + } + + @TestMetadata("delegatedVariables.kt") + public void testDelegatedVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.kt"); + } + + @TestMetadata("dependentOnFile.kt") + public void testDependentOnFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.kt"); + } + + @TestMetadata("doubles.kt") + public void testDoubles() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.kt"); + } + + @TestMetadata("enums.kt") + public void testEnums() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.kt"); + } + + @TestMetadata("errors.kt") + public void testErrors() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.kt"); + } + + @TestMetadata("escapedNames.kt") + public void testEscapedNames() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.kt"); + } + + @TestMetadata("experimentalApi.kt") + public void testExperimentalApi() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.kt"); + } + + @TestMetadata("extractLocalVariables.kt") + public void testExtractLocalVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.kt"); + } + + @TestMetadata("extractThis.kt") + public void testExtractThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.kt"); + } + + @TestMetadata("extractThisInTrait.kt") + public void testExtractThisInTrait() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.kt"); + } + + @TestMetadata("extractVariablesFromCall.kt") + public void testExtractVariablesFromCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.kt"); + } + + @TestMetadata("fieldGetters.kt") + public void testFieldGetters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.kt"); + } + + @TestMetadata("fileWithError.kt") + public void testFileWithError() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.kt"); + } + + @TestMetadata("funFromSuperClass.kt") + public void testFunFromSuperClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.kt"); + } + + @TestMetadata("functionDeclaration.kt") + public void testFunctionDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.kt"); + } + + @TestMetadata("functionWithBodyExpression.kt") + public void testFunctionWithBodyExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.kt"); + } + + @TestMetadata("genericCrossinlineArgument.kt") + public void testGenericCrossinlineArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/genericCrossinlineArgument.kt"); + } + + @TestMetadata("imports.kt") + public void testImports() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.kt"); + } + + @TestMetadata("importsLambdaContext.kt") + public void testImportsLambdaContext() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.kt"); + } + + @TestMetadata("inlineFunInMultiFilePackage.kt") + public void testInlineFunInMultiFilePackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.kt"); + } + + @TestMetadata("inlineFunction.kt") + public void testInlineFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.kt"); + } + + @TestMetadata("inlineFunctionBreakpointAnotherFile.kt") + public void testInlineFunctionBreakpointAnotherFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunctionBreakpointAnotherFile.kt"); + } + + @TestMetadata("inlineFunctionBreakpointVariants.kt") + public void testInlineFunctionBreakpointVariants() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunctionBreakpointVariants.kt"); + } + + @TestMetadata("inlineMethodsInSignature.kt") + public void testInlineMethodsInSignature() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.kt"); + } + + @TestMetadata("innerClass.kt") + public void testInnerClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.kt"); + } + + @TestMetadata("insertInBlock.kt") + public void testInsertInBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.kt"); + } + + @TestMetadata("internalFunctionEvaluate.kt") + public void testInternalFunctionEvaluate() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.kt"); + } + + @TestMetadata("internalProperty.kt") + public void testInternalProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.kt"); + } + + @TestMetadata("javaStaticMethods.kt") + public void testJavaStaticMethods() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.kt"); + } + + @TestMetadata("kClass.kt") + public void testKClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.kt"); + } + + @TestMetadata("kt12206BasePropertyWithoutBackingField.kt") + public void testKt12206BasePropertyWithoutBackingField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.kt"); + } + + @TestMetadata("kt15259.kt") + public void testKt15259() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.kt"); + } + + @TestMetadata("kt17514.kt") + public void testKt17514() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.kt"); + } + + @TestMetadata("kt22366.kt") + public void testKt22366() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.kt"); + } + + @TestMetadata("kt25220.kt") + public void testKt25220() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.kt"); + } + + @TestMetadata("kt25222.kt") + public void testKt25222() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.kt"); + } + + @TestMetadata("kt28087.kt") + public void testKt28087() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.kt"); + } + + @TestMetadata("kt29179.kt") + public void testKt29179() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.kt"); + } + + @TestMetadata("kt31709.kt") + public void testKt31709() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.kt"); + } + + @TestMetadata("kt36404.kt") + public void testKt36404() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.kt"); + } + + @TestMetadata("kt5554OnlyIntsShouldBeCoerced.kt") + public void testKt5554OnlyIntsShouldBeCoerced() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt"); + } + + @TestMetadata("kt7046localVarInInline.kt") + public void testKt7046localVarInInline() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.kt"); + } + + @TestMetadata("lambdaToString.kt") + public void testLambdaToString() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.kt"); + } + + @TestMetadata("localClass.kt") + public void testLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.kt"); + } + + @TestMetadata("localFunctionCapturedLocalVariable.kt") + public void testLocalFunctionCapturedLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.kt"); + } + + @TestMetadata("localFunctionsWithReceivers.kt") + public void testLocalFunctionsWithReceivers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.kt"); + } + + @TestMetadata("localVariables.kt") + public void testLocalVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.kt"); + } + + @TestMetadata("methodWithBreakpoint.kt") + public void testMethodWithBreakpoint() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.kt"); + } + + @TestMetadata("multilineExpressionAtBreakpoint.kt") + public void testMultilineExpressionAtBreakpoint() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.kt"); + } + + @TestMetadata("nestedInlineArguments.kt") + public void testNestedInlineArguments() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.kt"); + } + + @TestMetadata("nonAssignmentLValue.kt") + public void testNonAssignmentLValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.kt"); + } + + @TestMetadata("nothing.kt") + public void testNothing() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.kt"); + } + + @TestMetadata("onClassHeader.kt") + public void testOnClassHeader() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.kt"); + } + + @TestMetadata("onGetter.kt") + public void testOnGetter() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.kt"); + } + + @TestMetadata("onObjectHeader.kt") + public void testOnObjectHeader() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.kt"); + } + + @TestMetadata("package.kt") + public void testPackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.kt"); + } + + @TestMetadata("parametersOfInlineFun.kt") + public void testParametersOfInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.kt"); + } + + @TestMetadata("parametersOfInlineFunSeveralOnLine.kt") + public void testParametersOfInlineFunSeveralOnLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFunSeveralOnLine.kt"); + } + + @TestMetadata("privateClass.kt") + public void testPrivateClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.kt"); + } + + @TestMetadata("privateFieldInCompanion.kt") + public void testPrivateFieldInCompanion() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.kt"); + } + + @TestMetadata("privateMember.kt") + public void testPrivateMember() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.kt"); + } + + @TestMetadata("privatePropertyWithExplicitDefaultGetter.kt") + public void testPrivatePropertyWithExplicitDefaultGetter() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.kt"); + } + + @TestMetadata("protectedMember.kt") + public void testProtectedMember() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.kt"); + } + + @TestMetadata("rawTypeskt11831.kt") + public void testRawTypeskt11831() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.kt"); + } + + @TestMetadata("statements.kt") + public void testStatements() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.kt"); + } + + @TestMetadata("staticField.kt") + public void testStaticField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.kt"); + } + + @TestMetadata("stdlib.kt") + public void testStdlib() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.kt"); + } + + @TestMetadata("superCallsCaptured.kt") + public void testSuperCallsCaptured() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.kt"); + } + + @TestMetadata("superCallsSimple.kt") + public void testSuperCallsSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.kt"); + } + + @TestMetadata("suspendCalls.kt") + public void testSuspendCalls() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.kt"); + } + + @TestMetadata("synchronizedBlock.kt") + public void testSynchronizedBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.kt"); + } + + @TestMetadata("typeParameterRef.kt") + public void testTypeParameterRef() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.kt"); + } + + @TestMetadata("typedArray.kt") + public void testTypedArray() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.kt"); + } + + @TestMetadata("unboxParam.kt") + public void testUnboxParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.kt"); + } + + @TestMetadata("unsafeCall.kt") + public void testUnsafeCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.kt"); + } + + @TestMetadata("valueParameterName.kt") + public void testValueParameterName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.kt"); + } + + @TestMetadata("variableAsFunction.kt") + public void testVariableAsFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.kt"); + } + + @TestMetadata("vars.kt") + public void testVars() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.kt"); + } + + @TestMetadata("whenEvaluation.kt") + public void testWhenEvaluation() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.kt"); + } + + @TestMetadata(".kt.kt") + public void test_kt() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/.kt.kt"); + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CompilingEvaluator extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCompilingEvaluator() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("ceAnonymousObject.kt") + public void testCeAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.kt"); + } + + @TestMetadata("ceAnonymousObjectCapturedInClosure.kt") + public void testCeAnonymousObjectCapturedInClosure() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.kt"); + } + + @TestMetadata("ceAnonymousObjectThisAsReceiver.kt") + public void testCeAnonymousObjectThisAsReceiver() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.kt"); + } + + @TestMetadata("ceLambda.kt") + public void testCeLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.kt"); + } + + @TestMetadata("ceLocalClass.kt") + public void testCeLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.kt"); + } + + @TestMetadata("ceLocalClassMembers.kt") + public void testCeLocalClassMembers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.kt"); + } + + @TestMetadata("ceLocalClassWithSuperClass.kt") + public void testCeLocalClassWithSuperClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.kt"); + } + + @TestMetadata("ceMembers.kt") + public void testCeMembers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.kt"); + } + + @TestMetadata("ceObject.kt") + public void testCeObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.kt"); + } + + @TestMetadata("ceSeveralLambdas.kt") + public void testCeSeveralLambdas() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.kt"); + } + + @TestMetadata("ceSuperAccess.kt") + public void testCeSuperAccess() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Coroutines extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCoroutines() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("anyUpdateInvokeStatic.kt") + public void testAnyUpdateInvokeStatic() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.kt"); + } + + @TestMetadata("anyUpdateVariable.kt") + public void testAnyUpdateVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.kt"); + } + + @TestMetadata("capturedReceiverName.kt") + public void testCapturedReceiverName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.kt"); + } + + @TestMetadata("primitivesCoertion.kt") + public void testPrimitivesCoertion() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.kt"); + } + + @TestMetadata("stringUpdateInvokeStatic.kt") + public void testStringUpdateInvokeStatic() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.kt"); + } + + @TestMetadata("stringUpdateInvokeVirtual.kt") + public void testStringUpdateInvokeVirtual() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.kt"); + } + + @TestMetadata("stringUpdatePutField.kt") + public void testStringUpdatePutField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.kt"); + } + + @TestMetadata("stringUpdateVariable.kt") + public void testStringUpdateVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CreateExpression extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCreateExpression() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("createExpressionCastToBuiltIn.kt") + public void testCreateExpressionCastToBuiltIn() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.kt"); + } + + @TestMetadata("createExpressionSimple.kt") + public void testCreateExpressionSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionSimple.kt"); + } + + @TestMetadata("createExpressionWithArray.kt") + public void testCreateExpressionWithArray() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExtraVariables extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInExtraVariables() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("evBreakpointOnPropertyDeclaration.kt") + public void testEvBreakpointOnPropertyDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evBreakpointOnPropertyDeclaration.kt"); + } + + @TestMetadata("evDelegatedProperty.kt") + public void testEvDelegatedProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.kt"); + } + + @TestMetadata("evDuplicateItems.kt") + public void testEvDuplicateItems() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDuplicateItems.kt"); + } + + @TestMetadata("evFinalProperty.kt") + public void testEvFinalProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evFinalProperty.kt"); + } + + @TestMetadata("evFunctionDeclaration.kt") + public void testEvFunctionDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evFunctionDeclaration.kt"); + } + + @TestMetadata("evLineRange.kt") + public void testEvLineRange() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evLineRange.kt"); + } + + @TestMetadata("evProperty.kt") + public void testEvProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evProperty.kt"); + } + + @TestMetadata("evPropertyRefExpr.kt") + public void testEvPropertyRefExpr() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evPropertyRefExpr.kt"); + } + + @TestMetadata("evSkipAnonymousObject.kt") + public void testEvSkipAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipAnonymousObject.kt"); + } + + @TestMetadata("evSkipLambda.kt") + public void testEvSkipLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipLambda.kt"); + } + + @TestMetadata("evSkipLocalClass.kt") + public void testEvSkipLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipLocalClass.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Frame extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInFrame() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("capturedValues1.kt") + public void testCapturedValues1() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.kt"); + } + + @TestMetadata("capturedValues2.kt") + public void testCapturedValues2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues2.kt"); + } + + @TestMetadata("catchVariable.kt") + public void testCatchVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.kt"); + } + + @TestMetadata("coroutineContextFun.kt") + public void testCoroutineContextFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.kt"); + } + + @TestMetadata("coroutineContextLambda.kt") + public void testCoroutineContextLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.kt"); + } + + @TestMetadata("coroutineContextWithoutSuspend.kt") + public void testCoroutineContextWithoutSuspend() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.kt"); + } + + @TestMetadata("defaultImplsMangling.kt") + public void testDefaultImplsMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.kt"); + } + + @TestMetadata("delegatedPropertyInClass.kt") + public void testDelegatedPropertyInClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.kt"); + } + + @TestMetadata("delegatedPropertyInClassKotlinVariables.kt") + public void testDelegatedPropertyInClassKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.kt"); + } + + @TestMetadata("delegatedPropertyInClassWithToString.kt") + public void testDelegatedPropertyInClassWithToString() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassWithToString.kt"); + } + + @TestMetadata("delegatedPropertyInClassWoRenderer.kt") + public void testDelegatedPropertyInClassWoRenderer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassWoRenderer.kt"); + } + + @TestMetadata("frameAnonymousObject.kt") + public void testFrameAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameAnonymousObject.kt"); + } + + @TestMetadata("frameClassObject.kt") + public void testFrameClassObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.kt"); + } + + @TestMetadata("frameClosingBracket.kt") + public void testFrameClosingBracket() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.kt"); + } + + @TestMetadata("frameExtFunExtFun.kt") + public void testFrameExtFunExtFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.kt"); + } + + @TestMetadata("frameExtensionFun.kt") + public void testFrameExtensionFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.kt"); + } + + @TestMetadata("frameInlineArgument.kt") + public void testFrameInlineArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.kt"); + } + + @TestMetadata("frameInlineArgumentInsideInlineFun.kt") + public void testFrameInlineArgumentInsideInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.kt"); + } + + @TestMetadata("frameInlineFun.kt") + public void testFrameInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.kt"); + } + + @TestMetadata("frameInlineFunCallInsideInlineFun.kt") + public void testFrameInlineFunCallInsideInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.kt"); + } + + @TestMetadata("frameInlineFunCallInsideInlineFunKotlinVariables.kt") + public void testFrameInlineFunCallInsideInlineFunKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.kt"); + } + + @TestMetadata("frameInnerClass.kt") + public void testFrameInnerClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.kt"); + } + + @TestMetadata("frameInnerLambda.kt") + public void testFrameInnerLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.kt"); + } + + @TestMetadata("frameLambda.kt") + public void testFrameLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.kt"); + } + + @TestMetadata("frameLambdaNotUsed.kt") + public void testFrameLambdaNotUsed() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.kt"); + } + + @TestMetadata("frameLocalVariable.kt") + public void testFrameLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLocalVariable.kt"); + } + + @TestMetadata("frameObject.kt") + public void testFrameObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.kt"); + } + + @TestMetadata("frameSharedVar.kt") + public void testFrameSharedVar() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.kt"); + } + + @TestMetadata("frameSharedVarLocalVar.kt") + public void testFrameSharedVarLocalVar() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.kt"); + } + + @TestMetadata("frameSimple.kt") + public void testFrameSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.kt"); + } + + @TestMetadata("frameThis0.kt") + public void testFrameThis0() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.kt"); + } + + @TestMetadata("frameThis0Ext.kt") + public void testFrameThis0Ext() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.kt"); + } + + @TestMetadata("frameThis0This0.kt") + public void testFrameThis0This0() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.kt"); + } + + @TestMetadata("hideContinuationThis.kt") + public void testHideContinuationThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.kt"); + } + + @TestMetadata("hideSyntheticThis.kt") + public void testHideSyntheticThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideSyntheticThis.kt"); + } + + @TestMetadata("inlineFunThisKotlinVariables.kt") + public void testInlineFunThisKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/inlineFunThisKotlinVariables.kt"); + } + + @TestMetadata("lambdaAsValueArgument.kt") + public void testLambdaAsValueArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaAsValueArgument.kt"); + } + + @TestMetadata("lambdaFun1.kt") + public void testLambdaFun1() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun1.kt"); + } + + @TestMetadata("lambdaFun2.kt") + public void testLambdaFun2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.kt"); + } + + @TestMetadata("lambdaFun3.kt") + public void testLambdaFun3() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.kt"); + } + + @TestMetadata("lambdaFun4.kt") + public void testLambdaFun4() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.kt"); + } + + @TestMetadata("lambdaParameterMangling.kt") + public void testLambdaParameterMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.kt"); + } + + @TestMetadata("lambdaThisMangling.kt") + public void testLambdaThisMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.kt"); + } + + @TestMetadata("localFunctionMangling.kt") + public void testLocalFunctionMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.kt"); + } + + @TestMetadata("nestedInlineFun.kt") + public void testNestedInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/nestedInlineFun.kt"); + } + + @TestMetadata("nestedInlineFun2.kt") + public void testNestedInlineFun2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/nestedInlineFun2.kt"); + } + + @TestMetadata("remapThis.kt") + public void testRemapThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.kt"); + } + + @TestMetadata("suspendContinuation.kt") + public void testSuspendContinuation() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaContext extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInJavaContext() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("jcBlock.kt") + public void testJcBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.kt"); + } + + @TestMetadata("jcImports.kt") + public void testJcImports() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.kt"); + } + + @TestMetadata("jcLocalVariable.kt") + public void testJcLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.kt"); + } + + @TestMetadata("jcMarkedObject.kt") + public void testJcMarkedObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.kt"); + } + + @TestMetadata("jcProperty.kt") + public void testJcProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.kt"); + } + + @TestMetadata("jcSimple.kt") + public void testJcSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Labels extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLabels() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("lCallOnLabeledObj.kt") + public void testLCallOnLabeledObj() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.kt"); + } + + @TestMetadata("lIdentifier.kt") + public void testLIdentifier() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.kt"); + } + + @TestMetadata("lSeveralLabels.kt") + public void testLSeveralLabels() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.kt"); + } + + @TestMetadata("lSimple.kt") + public void testLSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.kt"); + } + + @TestMetadata("ldifferentTypes.kt") + public void testLdifferentTypes() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Lambdas extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLambdas() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("destructuringParam.kt") + public void testDestructuringParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.kt"); + } + + @TestMetadata("inlineFunctionalExpression.kt") + public void testInlineFunctionalExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.kt"); + } + + @TestMetadata("inlineLambda.kt") + public void testInlineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.kt"); + } + + @TestMetadata("lambdaOnReturn.kt") + public void testLambdaOnReturn() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.kt"); + } + + @TestMetadata("lambdaOnSecondLine.kt") + public void testLambdaOnSecondLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.kt"); + } + + @TestMetadata("oneLineFunctionalExpression.kt") + public void testOneLineFunctionalExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.kt"); + } + + @TestMetadata("oneLineLambda.kt") + public void testOneLineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.kt"); + } + + @TestMetadata("twoLambdasOnOneLineFirst.kt") + public void testTwoLambdasOnOneLineFirst() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.kt"); + } + + @TestMetadata("twoLambdasOnOneLineSecond.kt") + public void testTwoLambdasOnOneLineSecond() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.kt"); + } + + @TestMetadata("underscoreNames.kt") + public void testUnderscoreNames() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Renderer extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInRenderer() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("toStringRenderer.kt") + public void testToStringRenderer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer/toStringRenderer.kt"); + } + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultipleBreakpoints extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInMultipleBreakpoints() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("clearCache.kt") + public void testClearCache() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.kt"); + } + + @TestMetadata("constructors.kt") + public void testConstructors() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.kt"); + } + + @TestMetadata("exceptions.kt") + public void testExceptions() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.kt"); + } + + @TestMetadata("extensionMemberFunction.kt") + public void testExtensionMemberFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.kt"); + } + + @TestMetadata("extensionMemberFunctionInObject.kt") + public void testExtensionMemberFunctionInObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.kt"); + } + + @TestMetadata("extensionMemberProperty.kt") + public void testExtensionMemberProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.kt"); + } + + @TestMetadata("fieldVariable.kt") + public void testFieldVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.kt"); + } + + @TestMetadata("funFromOuterClassInLamdba.kt") + public void testFunFromOuterClassInLamdba() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.kt"); + } + + @TestMetadata("initializer.kt") + public void testInitializer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.kt"); + } + + @TestMetadata("invisibleDeclarations.kt") + public void testInvisibleDeclarations() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.kt"); + } + + @TestMetadata("isInsideInlineLambda.kt") + public void testIsInsideInlineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.kt"); + } + + @TestMetadata("lambdaParameters.kt") + public void testLambdaParameters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.kt"); + } + + @TestMetadata("localFun.kt") + public void testLocalFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.kt"); + } + + @TestMetadata("multipleBreakpointsAtLine.kt") + public void testMultipleBreakpointsAtLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.kt"); + } + + @TestMetadata("mutations.kt") + public void testMutations() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.kt"); + } + + @TestMetadata("nonCapturedVariables.kt") + public void testNonCapturedVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.kt"); + } + + @TestMetadata("privateMembersPriority.kt") + public void testPrivateMembersPriority() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.kt"); + } + + @TestMetadata("remappedParameterInInline.kt") + public void testRemappedParameterInInline() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.kt"); + } + + @TestMetadata("smartcasts.kt") + public void testSmartcasts() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.kt"); + } + + @TestMetadata("thisLabels.kt") + public void testThisLabels() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.kt"); + } + + @TestMetadata("whenEntry.kt") + public void testWhenEntry() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.kt"); + } + + @TestMetadata("withoutBodyFunctions.kt") + public void testWithoutBodyFunctions() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.kt"); + } + + @TestMetadata("withoutBodyProperties.kt") + public void testWithoutBodyProperties() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.kt"); + } + + @TestMetadata("withoutBodyProperties2.kt") + public void testWithoutBodyProperties2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.kt"); + } + + @TestMetadata("withoutBodyTypeParameters.kt") + public void testWithoutBodyTypeParameters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.kt"); + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Library extends AbstractIrKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLibrary() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("customLibClassName.kt") + public void testCustomLibClassName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.kt"); + } + + @TestMetadata("localFunInLibrary.kt") + public void testLocalFunInLibrary() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.kt"); + } + } + } +} diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt index c0aa16b14cf..4a39433ae8e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinDescriptorTestCase.kt @@ -24,6 +24,7 @@ import com.intellij.xdebugger.XDebugSession import org.jetbrains.kotlin.codegen.forTestCompile.ForTestCompileRuntime import org.jetbrains.kotlin.config.JvmTarget import org.jetbrains.kotlin.idea.debugger.evaluate.KotlinDebuggerCaches +import org.jetbrains.kotlin.idea.debugger.evaluate.compilation.CodeFragmentCompiler import org.jetbrains.kotlin.idea.debugger.test.preference.* import org.jetbrains.kotlin.idea.debugger.test.util.BreakpointCreator import org.jetbrains.kotlin.idea.debugger.test.util.KotlinOutputChecker @@ -34,6 +35,7 @@ import org.jetbrains.kotlin.test.* import org.jetbrains.kotlin.test.KotlinBaseTest.TestFile import org.jetbrains.kotlin.test.testFramework.runWriteAction import org.jetbrains.kotlin.test.util.KtTestUtil +import org.jetbrains.kotlin.test.TargetBackend import org.junit.ComparisonFailure import java.io.File @@ -150,7 +152,13 @@ abstract class KotlinDescriptorTestCase : DescriptorTestCase() { abstract fun doMultiFileTest(files: TestFiles, preferences: DebuggerPreferences) override fun initOutputChecker(): OutputChecker { - return KotlinOutputChecker(getTestDirectoryPath(), testAppPath, appOutputPath, useIrBackend(), getExpectedOutputFile()) + return KotlinOutputChecker( + getTestDirectoryPath(), + testAppPath, + appOutputPath, + targetBackend(), + getExpectedOutputFile() + ) } override fun setUpModule() { @@ -221,6 +229,16 @@ abstract class KotlinDescriptorTestCase : DescriptorTestCase() { } } + open fun fragmentCompilerBackend() = CodeFragmentCompiler.Companion.FragmentCompilerBackend.JVM + + protected fun targetBackend(): TargetBackend = + when (fragmentCompilerBackend()) { + CodeFragmentCompiler.Companion.FragmentCompilerBackend.JVM -> + if (useIrBackend()) TargetBackend.JVM_IR_WITH_OLD_EVALUATOR else TargetBackend.JVM_WITH_OLD_EVALUATOR + CodeFragmentCompiler.Companion.FragmentCompilerBackend.JVM_IR -> + if (useIrBackend()) TargetBackend.JVM_IR_WITH_IR_EVALUATOR else TargetBackend.JVM_WITH_IR_EVALUATOR + } + protected fun getExpectedOutputFile(): File { if (useIrBackend()) { val irOut = File(getTestDirectoryPath(), getTestName(true) + ".ir.out") diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionTestGenerated.java b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionTestGenerated.java index 49c8b3c954b..1284e994834 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionTestGenerated.java +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionTestGenerated.java @@ -9,6 +9,7 @@ import com.intellij.testFramework.TestDataPath; import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; import org.jetbrains.kotlin.test.KotlinTestUtils; import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TargetBackend; import org.jetbrains.kotlin.test.TestMetadata; import org.junit.runner.RunWith; @@ -24,7 +25,7 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class SingleBreakpoint extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } @TestMetadata("abstractFunCall.kt") @@ -38,7 +39,7 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat } public void testAllFilesPresentInSingleBreakpoint() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("annotationValue.kt") @@ -96,6 +97,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.kt"); } + @TestMetadata("color.kt") + public void testColor() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt"); + } + @TestMetadata("dataClassCopy.kt") public void testDataClassCopy() throws Exception { runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.kt"); @@ -526,11 +532,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class CompilingEvaluator extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCompilingEvaluator() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("ceAnonymousObject.kt") @@ -594,11 +600,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Coroutines extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCoroutines() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("anyUpdateInvokeStatic.kt") @@ -647,11 +653,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class CreateExpression extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInCreateExpression() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("createExpressionCastToBuiltIn.kt") @@ -675,11 +681,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class ExtraVariables extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInExtraVariables() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("evBreakpointOnPropertyDeclaration.kt") @@ -743,11 +749,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Frame extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInFrame() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("capturedValues1.kt") @@ -996,11 +1002,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class JavaContext extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInJavaContext() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("jcBlock.kt") @@ -1039,11 +1045,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Labels extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLabels() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("lCallOnLabeledObj.kt") @@ -1077,11 +1083,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Lambdas extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLambdas() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("destructuringParam.kt") @@ -1140,11 +1146,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Renderer extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doSingleBreakpointTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInRenderer() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("toStringRenderer.kt") @@ -1159,11 +1165,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class MultipleBreakpoints extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInMultipleBreakpoints() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("clearCache.kt") @@ -1296,11 +1302,11 @@ public class KotlinEvaluateExpressionTestGenerated extends AbstractKotlinEvaluat @RunWith(JUnit3RunnerWithInners.class) public static class Library extends AbstractKotlinEvaluateExpressionTest { private void runTest(String testDataFilePath) throws Exception { - KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, this, testDataFilePath); + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_WITH_OLD_EVALUATOR, testDataFilePath); } public void testAllFilesPresentInLibrary() throws Exception { - KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, true); + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_OLD_EVALUATOR, true); } @TestMetadata("customLibClassName.kt") diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java new file mode 100644 index 00000000000..60f865f6694 --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/KotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated.java @@ -0,0 +1,1323 @@ +/* + * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. + * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. + */ + +package org.jetbrains.kotlin.idea.debugger.test; + +import com.intellij.testFramework.TestDataPath; +import org.jetbrains.kotlin.test.JUnit3RunnerWithInners; +import org.jetbrains.kotlin.test.KotlinTestUtils; +import org.jetbrains.kotlin.test.util.KtTestUtil; +import org.jetbrains.kotlin.test.TargetBackend; +import org.jetbrains.kotlin.test.TestMetadata; +import org.junit.runner.RunWith; + +import java.io.File; +import java.util.regex.Pattern; + +/** This class is generated by {@link org.jetbrains.kotlin.generators.tests.TestsPackage}. DO NOT MODIFY MANUALLY */ +@SuppressWarnings("all") +@RunWith(JUnit3RunnerWithInners.class) +public class KotlinEvaluateExpressionWithIRFragmentCompilerTestGenerated extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class SingleBreakpoint extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + @TestMetadata("abstractFunCall.kt") + public void testAbstractFunCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.kt"); + } + + @TestMetadata("accessToOverridenPropertyWithBackingField.kt") + public void testAccessToOverridenPropertyWithBackingField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.kt"); + } + + public void testAllFilesPresentInSingleBreakpoint() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("annotationValue.kt") + public void testAnnotationValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.kt"); + } + + @TestMetadata("anonymousObjects.kt") + public void testAnonymousObjects() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.kt"); + } + + @TestMetadata("arrayMethods.kt") + public void testArrayMethods() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.kt"); + } + + @TestMetadata("arrays.kt") + public void testArrays() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.kt"); + } + + @TestMetadata("boxParam.kt") + public void testBoxParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.kt"); + } + + @TestMetadata("boxReturnValue.kt") + public void testBoxReturnValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.kt"); + } + + @TestMetadata("breakpointInInlineFun.kt") + public void testBreakpointInInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/breakpointInInlineFun.kt"); + } + + @TestMetadata("callableBug.kt") + public void testCallableBug() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.kt"); + } + + @TestMetadata("classFromAnotherPackage.kt") + public void testClassFromAnotherPackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.kt"); + } + + @TestMetadata("classObjectVal.kt") + public void testClassObjectVal() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.kt"); + } + + @TestMetadata("collections.kt") + public void testCollections() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.kt"); + } + + @TestMetadata("color.kt") + public void testColor() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt"); + } + + @TestMetadata("dataClassCopy.kt") + public void testDataClassCopy() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.kt"); + } + + @TestMetadata("defaultParameterValues.kt") + public void testDefaultParameterValues() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.kt"); + } + + @TestMetadata("defaultParameterValues2.kt") + public void testDefaultParameterValues2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.kt"); + } + + @TestMetadata("delegatedPropertyInOtherFile.kt") + public void testDelegatedPropertyInOtherFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.kt"); + } + + @TestMetadata("delegatedVariables.kt") + public void testDelegatedVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.kt"); + } + + @TestMetadata("dependentOnFile.kt") + public void testDependentOnFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.kt"); + } + + @TestMetadata("doubles.kt") + public void testDoubles() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.kt"); + } + + @TestMetadata("enums.kt") + public void testEnums() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.kt"); + } + + @TestMetadata("errors.kt") + public void testErrors() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.kt"); + } + + @TestMetadata("escapedNames.kt") + public void testEscapedNames() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.kt"); + } + + @TestMetadata("experimentalApi.kt") + public void testExperimentalApi() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.kt"); + } + + @TestMetadata("extractLocalVariables.kt") + public void testExtractLocalVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.kt"); + } + + @TestMetadata("extractThis.kt") + public void testExtractThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.kt"); + } + + @TestMetadata("extractThisInTrait.kt") + public void testExtractThisInTrait() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.kt"); + } + + @TestMetadata("extractVariablesFromCall.kt") + public void testExtractVariablesFromCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.kt"); + } + + @TestMetadata("fieldGetters.kt") + public void testFieldGetters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.kt"); + } + + @TestMetadata("fileWithError.kt") + public void testFileWithError() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.kt"); + } + + @TestMetadata("funFromSuperClass.kt") + public void testFunFromSuperClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.kt"); + } + + @TestMetadata("functionDeclaration.kt") + public void testFunctionDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.kt"); + } + + @TestMetadata("functionWithBodyExpression.kt") + public void testFunctionWithBodyExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.kt"); + } + + @TestMetadata("genericCrossinlineArgument.kt") + public void testGenericCrossinlineArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/genericCrossinlineArgument.kt"); + } + + @TestMetadata("imports.kt") + public void testImports() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.kt"); + } + + @TestMetadata("importsLambdaContext.kt") + public void testImportsLambdaContext() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.kt"); + } + + @TestMetadata("inlineFunInMultiFilePackage.kt") + public void testInlineFunInMultiFilePackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.kt"); + } + + @TestMetadata("inlineFunction.kt") + public void testInlineFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.kt"); + } + + @TestMetadata("inlineFunctionBreakpointAnotherFile.kt") + public void testInlineFunctionBreakpointAnotherFile() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunctionBreakpointAnotherFile.kt"); + } + + @TestMetadata("inlineFunctionBreakpointVariants.kt") + public void testInlineFunctionBreakpointVariants() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunctionBreakpointVariants.kt"); + } + + @TestMetadata("inlineMethodsInSignature.kt") + public void testInlineMethodsInSignature() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.kt"); + } + + @TestMetadata("innerClass.kt") + public void testInnerClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.kt"); + } + + @TestMetadata("insertInBlock.kt") + public void testInsertInBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.kt"); + } + + @TestMetadata("internalFunctionEvaluate.kt") + public void testInternalFunctionEvaluate() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.kt"); + } + + @TestMetadata("internalProperty.kt") + public void testInternalProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.kt"); + } + + @TestMetadata("javaStaticMethods.kt") + public void testJavaStaticMethods() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.kt"); + } + + @TestMetadata("kClass.kt") + public void testKClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.kt"); + } + + @TestMetadata("kt12206BasePropertyWithoutBackingField.kt") + public void testKt12206BasePropertyWithoutBackingField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.kt"); + } + + @TestMetadata("kt15259.kt") + public void testKt15259() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.kt"); + } + + @TestMetadata("kt17514.kt") + public void testKt17514() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.kt"); + } + + @TestMetadata("kt22366.kt") + public void testKt22366() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.kt"); + } + + @TestMetadata("kt25220.kt") + public void testKt25220() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.kt"); + } + + @TestMetadata("kt25222.kt") + public void testKt25222() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.kt"); + } + + @TestMetadata("kt28087.kt") + public void testKt28087() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.kt"); + } + + @TestMetadata("kt29179.kt") + public void testKt29179() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.kt"); + } + + @TestMetadata("kt31709.kt") + public void testKt31709() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.kt"); + } + + @TestMetadata("kt36404.kt") + public void testKt36404() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.kt"); + } + + @TestMetadata("kt5554OnlyIntsShouldBeCoerced.kt") + public void testKt5554OnlyIntsShouldBeCoerced() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.kt"); + } + + @TestMetadata("kt7046localVarInInline.kt") + public void testKt7046localVarInInline() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.kt"); + } + + @TestMetadata("lambdaToString.kt") + public void testLambdaToString() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.kt"); + } + + @TestMetadata("localClass.kt") + public void testLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.kt"); + } + + @TestMetadata("localFunctionCapturedLocalVariable.kt") + public void testLocalFunctionCapturedLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.kt"); + } + + @TestMetadata("localFunctionsWithReceivers.kt") + public void testLocalFunctionsWithReceivers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.kt"); + } + + @TestMetadata("localVariables.kt") + public void testLocalVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.kt"); + } + + @TestMetadata("methodWithBreakpoint.kt") + public void testMethodWithBreakpoint() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.kt"); + } + + @TestMetadata("multilineExpressionAtBreakpoint.kt") + public void testMultilineExpressionAtBreakpoint() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.kt"); + } + + @TestMetadata("nestedInlineArguments.kt") + public void testNestedInlineArguments() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.kt"); + } + + @TestMetadata("nonAssignmentLValue.kt") + public void testNonAssignmentLValue() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.kt"); + } + + @TestMetadata("nothing.kt") + public void testNothing() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.kt"); + } + + @TestMetadata("onClassHeader.kt") + public void testOnClassHeader() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.kt"); + } + + @TestMetadata("onGetter.kt") + public void testOnGetter() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.kt"); + } + + @TestMetadata("onObjectHeader.kt") + public void testOnObjectHeader() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.kt"); + } + + @TestMetadata("package.kt") + public void testPackage() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.kt"); + } + + @TestMetadata("parametersOfInlineFun.kt") + public void testParametersOfInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.kt"); + } + + @TestMetadata("parametersOfInlineFunSeveralOnLine.kt") + public void testParametersOfInlineFunSeveralOnLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFunSeveralOnLine.kt"); + } + + @TestMetadata("privateClass.kt") + public void testPrivateClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.kt"); + } + + @TestMetadata("privateFieldInCompanion.kt") + public void testPrivateFieldInCompanion() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.kt"); + } + + @TestMetadata("privateMember.kt") + public void testPrivateMember() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.kt"); + } + + @TestMetadata("privatePropertyWithExplicitDefaultGetter.kt") + public void testPrivatePropertyWithExplicitDefaultGetter() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.kt"); + } + + @TestMetadata("protectedMember.kt") + public void testProtectedMember() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.kt"); + } + + @TestMetadata("rawTypeskt11831.kt") + public void testRawTypeskt11831() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.kt"); + } + + @TestMetadata("simple.kt") + public void testSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.kt"); + } + + @TestMetadata("statements.kt") + public void testStatements() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.kt"); + } + + @TestMetadata("staticField.kt") + public void testStaticField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.kt"); + } + + @TestMetadata("stdlib.kt") + public void testStdlib() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.kt"); + } + + @TestMetadata("superCallsCaptured.kt") + public void testSuperCallsCaptured() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.kt"); + } + + @TestMetadata("superCallsSimple.kt") + public void testSuperCallsSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.kt"); + } + + @TestMetadata("suspendCalls.kt") + public void testSuspendCalls() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.kt"); + } + + @TestMetadata("synchronizedBlock.kt") + public void testSynchronizedBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.kt"); + } + + @TestMetadata("typeParameterRef.kt") + public void testTypeParameterRef() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.kt"); + } + + @TestMetadata("typedArray.kt") + public void testTypedArray() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.kt"); + } + + @TestMetadata("unboxParam.kt") + public void testUnboxParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.kt"); + } + + @TestMetadata("unsafeCall.kt") + public void testUnsafeCall() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.kt"); + } + + @TestMetadata("valueParameterName.kt") + public void testValueParameterName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.kt"); + } + + @TestMetadata("variableAsFunction.kt") + public void testVariableAsFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.kt"); + } + + @TestMetadata("vars.kt") + public void testVars() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.kt"); + } + + @TestMetadata("whenEvaluation.kt") + public void testWhenEvaluation() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.kt"); + } + + @TestMetadata(".kt.kt") + public void test_kt() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/.kt.kt"); + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CompilingEvaluator extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCompilingEvaluator() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("ceAnonymousObject.kt") + public void testCeAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.kt"); + } + + @TestMetadata("ceAnonymousObjectCapturedInClosure.kt") + public void testCeAnonymousObjectCapturedInClosure() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.kt"); + } + + @TestMetadata("ceAnonymousObjectThisAsReceiver.kt") + public void testCeAnonymousObjectThisAsReceiver() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.kt"); + } + + @TestMetadata("ceLambda.kt") + public void testCeLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.kt"); + } + + @TestMetadata("ceLocalClass.kt") + public void testCeLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.kt"); + } + + @TestMetadata("ceLocalClassMembers.kt") + public void testCeLocalClassMembers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.kt"); + } + + @TestMetadata("ceLocalClassWithSuperClass.kt") + public void testCeLocalClassWithSuperClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.kt"); + } + + @TestMetadata("ceMembers.kt") + public void testCeMembers() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.kt"); + } + + @TestMetadata("ceObject.kt") + public void testCeObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.kt"); + } + + @TestMetadata("ceSeveralLambdas.kt") + public void testCeSeveralLambdas() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.kt"); + } + + @TestMetadata("ceSuperAccess.kt") + public void testCeSuperAccess() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Coroutines extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCoroutines() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("anyUpdateInvokeStatic.kt") + public void testAnyUpdateInvokeStatic() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.kt"); + } + + @TestMetadata("anyUpdateVariable.kt") + public void testAnyUpdateVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.kt"); + } + + @TestMetadata("capturedReceiverName.kt") + public void testCapturedReceiverName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.kt"); + } + + @TestMetadata("primitivesCoertion.kt") + public void testPrimitivesCoertion() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.kt"); + } + + @TestMetadata("stringUpdateInvokeStatic.kt") + public void testStringUpdateInvokeStatic() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.kt"); + } + + @TestMetadata("stringUpdateInvokeVirtual.kt") + public void testStringUpdateInvokeVirtual() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.kt"); + } + + @TestMetadata("stringUpdatePutField.kt") + public void testStringUpdatePutField() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.kt"); + } + + @TestMetadata("stringUpdateVariable.kt") + public void testStringUpdateVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class CreateExpression extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInCreateExpression() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("createExpressionCastToBuiltIn.kt") + public void testCreateExpressionCastToBuiltIn() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.kt"); + } + + @TestMetadata("createExpressionSimple.kt") + public void testCreateExpressionSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionSimple.kt"); + } + + @TestMetadata("createExpressionWithArray.kt") + public void testCreateExpressionWithArray() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class ExtraVariables extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInExtraVariables() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("evBreakpointOnPropertyDeclaration.kt") + public void testEvBreakpointOnPropertyDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evBreakpointOnPropertyDeclaration.kt"); + } + + @TestMetadata("evDelegatedProperty.kt") + public void testEvDelegatedProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.kt"); + } + + @TestMetadata("evDuplicateItems.kt") + public void testEvDuplicateItems() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDuplicateItems.kt"); + } + + @TestMetadata("evFinalProperty.kt") + public void testEvFinalProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evFinalProperty.kt"); + } + + @TestMetadata("evFunctionDeclaration.kt") + public void testEvFunctionDeclaration() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evFunctionDeclaration.kt"); + } + + @TestMetadata("evLineRange.kt") + public void testEvLineRange() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evLineRange.kt"); + } + + @TestMetadata("evProperty.kt") + public void testEvProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evProperty.kt"); + } + + @TestMetadata("evPropertyRefExpr.kt") + public void testEvPropertyRefExpr() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evPropertyRefExpr.kt"); + } + + @TestMetadata("evSkipAnonymousObject.kt") + public void testEvSkipAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipAnonymousObject.kt"); + } + + @TestMetadata("evSkipLambda.kt") + public void testEvSkipLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipLambda.kt"); + } + + @TestMetadata("evSkipLocalClass.kt") + public void testEvSkipLocalClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evSkipLocalClass.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Frame extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInFrame() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("capturedValues1.kt") + public void testCapturedValues1() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.kt"); + } + + @TestMetadata("capturedValues2.kt") + public void testCapturedValues2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues2.kt"); + } + + @TestMetadata("catchVariable.kt") + public void testCatchVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.kt"); + } + + @TestMetadata("coroutineContextFun.kt") + public void testCoroutineContextFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.kt"); + } + + @TestMetadata("coroutineContextLambda.kt") + public void testCoroutineContextLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.kt"); + } + + @TestMetadata("coroutineContextWithoutSuspend.kt") + public void testCoroutineContextWithoutSuspend() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.kt"); + } + + @TestMetadata("defaultImplsMangling.kt") + public void testDefaultImplsMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.kt"); + } + + @TestMetadata("delegatedPropertyInClass.kt") + public void testDelegatedPropertyInClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.kt"); + } + + @TestMetadata("delegatedPropertyInClassKotlinVariables.kt") + public void testDelegatedPropertyInClassKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.kt"); + } + + @TestMetadata("delegatedPropertyInClassWithToString.kt") + public void testDelegatedPropertyInClassWithToString() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassWithToString.kt"); + } + + @TestMetadata("delegatedPropertyInClassWoRenderer.kt") + public void testDelegatedPropertyInClassWoRenderer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassWoRenderer.kt"); + } + + @TestMetadata("frameAnonymousObject.kt") + public void testFrameAnonymousObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameAnonymousObject.kt"); + } + + @TestMetadata("frameClassObject.kt") + public void testFrameClassObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.kt"); + } + + @TestMetadata("frameClosingBracket.kt") + public void testFrameClosingBracket() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.kt"); + } + + @TestMetadata("frameExtFunExtFun.kt") + public void testFrameExtFunExtFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.kt"); + } + + @TestMetadata("frameExtensionFun.kt") + public void testFrameExtensionFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.kt"); + } + + @TestMetadata("frameInlineArgument.kt") + public void testFrameInlineArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.kt"); + } + + @TestMetadata("frameInlineArgumentInsideInlineFun.kt") + public void testFrameInlineArgumentInsideInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.kt"); + } + + @TestMetadata("frameInlineFun.kt") + public void testFrameInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.kt"); + } + + @TestMetadata("frameInlineFunCallInsideInlineFun.kt") + public void testFrameInlineFunCallInsideInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.kt"); + } + + @TestMetadata("frameInlineFunCallInsideInlineFunKotlinVariables.kt") + public void testFrameInlineFunCallInsideInlineFunKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.kt"); + } + + @TestMetadata("frameInnerClass.kt") + public void testFrameInnerClass() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.kt"); + } + + @TestMetadata("frameInnerLambda.kt") + public void testFrameInnerLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.kt"); + } + + @TestMetadata("frameLambda.kt") + public void testFrameLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.kt"); + } + + @TestMetadata("frameLambdaNotUsed.kt") + public void testFrameLambdaNotUsed() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.kt"); + } + + @TestMetadata("frameLocalVariable.kt") + public void testFrameLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLocalVariable.kt"); + } + + @TestMetadata("frameObject.kt") + public void testFrameObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.kt"); + } + + @TestMetadata("frameSharedVar.kt") + public void testFrameSharedVar() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.kt"); + } + + @TestMetadata("frameSharedVarLocalVar.kt") + public void testFrameSharedVarLocalVar() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.kt"); + } + + @TestMetadata("frameSimple.kt") + public void testFrameSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.kt"); + } + + @TestMetadata("frameThis0.kt") + public void testFrameThis0() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.kt"); + } + + @TestMetadata("frameThis0Ext.kt") + public void testFrameThis0Ext() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.kt"); + } + + @TestMetadata("frameThis0This0.kt") + public void testFrameThis0This0() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.kt"); + } + + @TestMetadata("hideContinuationThis.kt") + public void testHideContinuationThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.kt"); + } + + @TestMetadata("hideSyntheticThis.kt") + public void testHideSyntheticThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideSyntheticThis.kt"); + } + + @TestMetadata("inlineFunThisKotlinVariables.kt") + public void testInlineFunThisKotlinVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/inlineFunThisKotlinVariables.kt"); + } + + @TestMetadata("lambdaAsValueArgument.kt") + public void testLambdaAsValueArgument() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaAsValueArgument.kt"); + } + + @TestMetadata("lambdaFun1.kt") + public void testLambdaFun1() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun1.kt"); + } + + @TestMetadata("lambdaFun2.kt") + public void testLambdaFun2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.kt"); + } + + @TestMetadata("lambdaFun3.kt") + public void testLambdaFun3() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.kt"); + } + + @TestMetadata("lambdaFun4.kt") + public void testLambdaFun4() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.kt"); + } + + @TestMetadata("lambdaParameterMangling.kt") + public void testLambdaParameterMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.kt"); + } + + @TestMetadata("lambdaThisMangling.kt") + public void testLambdaThisMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.kt"); + } + + @TestMetadata("localFunctionMangling.kt") + public void testLocalFunctionMangling() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.kt"); + } + + @TestMetadata("nestedInlineFun.kt") + public void testNestedInlineFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/nestedInlineFun.kt"); + } + + @TestMetadata("nestedInlineFun2.kt") + public void testNestedInlineFun2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/nestedInlineFun2.kt"); + } + + @TestMetadata("remapThis.kt") + public void testRemapThis() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.kt"); + } + + @TestMetadata("suspendContinuation.kt") + public void testSuspendContinuation() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class JavaContext extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInJavaContext() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("jcBlock.kt") + public void testJcBlock() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.kt"); + } + + @TestMetadata("jcImports.kt") + public void testJcImports() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.kt"); + } + + @TestMetadata("jcLocalVariable.kt") + public void testJcLocalVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.kt"); + } + + @TestMetadata("jcMarkedObject.kt") + public void testJcMarkedObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.kt"); + } + + @TestMetadata("jcProperty.kt") + public void testJcProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.kt"); + } + + @TestMetadata("jcSimple.kt") + public void testJcSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Labels extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLabels() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("lCallOnLabeledObj.kt") + public void testLCallOnLabeledObj() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.kt"); + } + + @TestMetadata("lIdentifier.kt") + public void testLIdentifier() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.kt"); + } + + @TestMetadata("lSeveralLabels.kt") + public void testLSeveralLabels() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.kt"); + } + + @TestMetadata("lSimple.kt") + public void testLSimple() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.kt"); + } + + @TestMetadata("ldifferentTypes.kt") + public void testLdifferentTypes() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Lambdas extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLambdas() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("destructuringParam.kt") + public void testDestructuringParam() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.kt"); + } + + @TestMetadata("inlineFunctionalExpression.kt") + public void testInlineFunctionalExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.kt"); + } + + @TestMetadata("inlineLambda.kt") + public void testInlineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.kt"); + } + + @TestMetadata("lambdaOnReturn.kt") + public void testLambdaOnReturn() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.kt"); + } + + @TestMetadata("lambdaOnSecondLine.kt") + public void testLambdaOnSecondLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.kt"); + } + + @TestMetadata("oneLineFunctionalExpression.kt") + public void testOneLineFunctionalExpression() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.kt"); + } + + @TestMetadata("oneLineLambda.kt") + public void testOneLineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.kt"); + } + + @TestMetadata("twoLambdasOnOneLineFirst.kt") + public void testTwoLambdasOnOneLineFirst() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.kt"); + } + + @TestMetadata("twoLambdasOnOneLineSecond.kt") + public void testTwoLambdasOnOneLineSecond() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.kt"); + } + + @TestMetadata("underscoreNames.kt") + public void testUnderscoreNames() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.kt"); + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Renderer extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doSingleBreakpointTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInRenderer() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("toStringRenderer.kt") + public void testToStringRenderer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/renderer/toStringRenderer.kt"); + } + } + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class MultipleBreakpoints extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInMultipleBreakpoints() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("clearCache.kt") + public void testClearCache() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.kt"); + } + + @TestMetadata("constructors.kt") + public void testConstructors() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.kt"); + } + + @TestMetadata("exceptions.kt") + public void testExceptions() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.kt"); + } + + @TestMetadata("extensionMemberFunction.kt") + public void testExtensionMemberFunction() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.kt"); + } + + @TestMetadata("extensionMemberFunctionInObject.kt") + public void testExtensionMemberFunctionInObject() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.kt"); + } + + @TestMetadata("extensionMemberProperty.kt") + public void testExtensionMemberProperty() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.kt"); + } + + @TestMetadata("fieldVariable.kt") + public void testFieldVariable() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.kt"); + } + + @TestMetadata("funFromOuterClassInLamdba.kt") + public void testFunFromOuterClassInLamdba() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.kt"); + } + + @TestMetadata("initializer.kt") + public void testInitializer() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.kt"); + } + + @TestMetadata("invisibleDeclarations.kt") + public void testInvisibleDeclarations() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.kt"); + } + + @TestMetadata("isInsideInlineLambda.kt") + public void testIsInsideInlineLambda() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.kt"); + } + + @TestMetadata("lambdaParameters.kt") + public void testLambdaParameters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.kt"); + } + + @TestMetadata("localFun.kt") + public void testLocalFun() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.kt"); + } + + @TestMetadata("multipleBreakpointsAtLine.kt") + public void testMultipleBreakpointsAtLine() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.kt"); + } + + @TestMetadata("mutations.kt") + public void testMutations() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.kt"); + } + + @TestMetadata("nonCapturedVariables.kt") + public void testNonCapturedVariables() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.kt"); + } + + @TestMetadata("privateMembersPriority.kt") + public void testPrivateMembersPriority() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.kt"); + } + + @TestMetadata("remappedParameterInInline.kt") + public void testRemappedParameterInInline() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.kt"); + } + + @TestMetadata("smartcasts.kt") + public void testSmartcasts() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.kt"); + } + + @TestMetadata("thisLabels.kt") + public void testThisLabels() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.kt"); + } + + @TestMetadata("whenEntry.kt") + public void testWhenEntry() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.kt"); + } + + @TestMetadata("withoutBodyFunctions.kt") + public void testWithoutBodyFunctions() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.kt"); + } + + @TestMetadata("withoutBodyProperties.kt") + public void testWithoutBodyProperties() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.kt"); + } + + @TestMetadata("withoutBodyProperties2.kt") + public void testWithoutBodyProperties2() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.kt"); + } + + @TestMetadata("withoutBodyTypeParameters.kt") + public void testWithoutBodyTypeParameters() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.kt"); + } + + @TestMetadata("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library") + @TestDataPath("$PROJECT_ROOT") + @RunWith(JUnit3RunnerWithInners.class) + public static class Library extends AbstractKotlinEvaluateExpressionWithIRFragmentCompilerTest { + private void runTest(String testDataFilePath) throws Exception { + KotlinTestUtils.runTest(this::doMultipleBreakpointsTest, TargetBackend.JVM_WITH_IR_EVALUATOR, testDataFilePath); + } + + public void testAllFilesPresentInLibrary() throws Exception { + KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_WITH_IR_EVALUATOR, true); + } + + @TestMetadata("customLibClassName.kt") + public void testCustomLibClassName() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.kt"); + } + + @TestMetadata("localFunInLibrary.kt") + public void testLocalFunInLibrary() throws Exception { + runTest("idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.kt"); + } + } + } +} diff --git a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt index ea00771a88a..4473a69ced0 100644 --- a/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt +++ b/idea/jvm-debugger/jvm-debugger-test/test/org/jetbrains/kotlin/idea/debugger/test/util/KotlinOutputChecker.kt @@ -24,7 +24,7 @@ internal class KotlinOutputChecker( private val testDir: String, appPath: String, outputPath: String, - private val useIrBackend: Boolean, + private val targetBackend: TargetBackend, private val expectedOutputFile: File, ) : OutputChecker(appPath, outputPath) { companion object { @@ -63,7 +63,7 @@ internal class KotlinOutputChecker( val outDir = File(testDir) var outFile = expectedOutputFile - val isIgnored = InTextDirectivesUtils.isIgnoredTarget(if (useIrBackend) TargetBackend.JVM_IR else TargetBackend.JVM, outFile) + val isIgnored = outFile.exists() && InTextDirectivesUtils.isIgnoredTarget(targetBackend, outFile) if (!outFile.exists()) { if (SystemInfo.isWindows) { diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.out index 99c89a5eef0..60796e1f188 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/clearCache.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at clearCache.kt:12 LineBreakpoint created at clearCache.kt:20 LineBreakpoint created at clearCache.kt:31 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.out index d11a570e330..6da0176a53d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/constructors.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR FunctionBreakpoint created at constructors.kt:9 LineBreakpoint created at constructors.kt:13 FunctionBreakpoint created at constructors.kt:20 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.out index 9b8eeaa949f..9ae2fb6f1fa 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/exceptions.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at exceptions.kt:9 LineBreakpoint created at exceptions.kt:14 LineBreakpoint created at exceptions.kt:26 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.out index 45df8f3754c..f5c3aa31339 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunction.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extensionMemberFunction.kt:13 LineBreakpoint created at extensionMemberFunction.kt:19 LineBreakpoint created at extensionMemberFunction.kt:25 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.out index 06012d7652e..1438eb8216b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberFunctionInObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extensionMemberFunctionInObject.kt:14 LineBreakpoint created at extensionMemberFunctionInObject.kt:20 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.out index be7fb158286..8c862192b23 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/extensionMemberProperty.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extensionMemberProperty.kt:13 LineBreakpoint created at extensionMemberProperty.kt:19 LineBreakpoint created at extensionMemberProperty.kt:25 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.out index 709baab034e..3dfc3845d0c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/fieldVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at fieldVariable.kt:7 LineBreakpoint created at fieldVariable.kt:14 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.out index 2d117b89039..e3f2305ae1d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/funFromOuterClassInLamdba.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at funFromOuterClassInLamdba.kt:20 LineBreakpoint created at funFromOuterClassInLamdba.kt:28 LineBreakpoint created at funFromOuterClassInLamdba.kt:36 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.out index fd135049df6..121f4d53243 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/initializer.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at initializer.kt:12 LineBreakpoint created at initializer.kt:18 lambdaOrdinal = -1 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.out index 136b9a34672..2f1c9f05bdf 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/invisibleDeclarations.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at invisibleDeclarations.kt:16 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.out index fac52c99fd8..fb23a97b428 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/isInsideInlineLambda.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:7 lambdaOrdinal = 1 LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:12 lambdaOrdinal = 1 LineBreakpoint created at isInsideInlineLambdaInLibrary.kt:18 lambdaOrdinal = 1 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.out index 837d30be504..cd266923994 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/lambdaParameters.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaParameters.kt:5 LineBreakpoint created at lambdaParameters.kt:10 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.out index 8c5cf5808da..0229b1364ed 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/customLibClassName.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at a1.kt:7 LineBreakpoint created at a1.kt:7 LineBreakpoint created at a1.kt:7 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.out index 50124b73779..8d23a815826 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/library/localFunInLibrary.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at localFunCustomLib.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.out index 7e76469801b..4714bfd5652 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/localFun.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at localFun.kt:9 LineBreakpoint created at localFun.kt:15 LineBreakpoint created at localFun.kt:21 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.out index 8844df5a545..7bf11e70a6d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/multipleBreakpointsAtLine.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at multipleBreakpointsAtLine.kt:9 lambdaOrdinal = -1 LineBreakpoint created at multipleBreakpointsAtLine.kt:14 lambdaOrdinal = 1 LineBreakpoint created at multipleBreakpointsAtLine.kt:19 lambdaOrdinal = 2 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.out index 1800ff7dc4f..30b265d797e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/mutations.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at mutations.kt:8 LineBreakpoint created at mutations.kt:11 LineBreakpoint created at mutations.kt:14 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.out index 6deaa573e11..f2ec7c4c51d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/nonCapturedVariables.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at nonCapturedVariables.kt:8 LineBreakpoint created at nonCapturedVariables.kt:12 LineBreakpoint created at nonCapturedVariables.kt:16 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.out index 58078f001f6..da713d21d2b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/privateMembersPriority.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at privateMembersPriority.kt:21 LineBreakpoint created at privateMembersPriority.kt:33 LineBreakpoint created at privateMembersPriority.kt:40 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.out index bd28a4b388f..3c99d7b90ca 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/remappedParameterInInline.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at remappedParameterInInline.kt:11 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.out index 2d5a2e67af7..09482b7e7f3 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/smartcasts.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at smartcasts.kt:19 LineBreakpoint created at smartcasts.kt:29 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.out index ca185b30c13..b40e3c4ec38 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/thisLabels.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at thisLabels.kt:6 LineBreakpoint created at thisLabels.kt:8 LineBreakpoint created at thisLabels.kt:10 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.out index e7a04030f6d..9e92029c0ee 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/whenEntry.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at whenEntry.kt:10 LineBreakpoint created at whenEntry.kt:18 LineBreakpoint created at whenEntry.kt:26 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.out index 97e474de7e7..86eb1d19eaa 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyFunctions.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR FunctionBreakpoint created at withoutBodyFunctions.kt:9 FunctionBreakpoint created at withoutBodyFunctions.kt:15 LineBreakpoint created at withoutBodyFunctions.kt:21 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.out index 055a03ea17e..7f9345f57fd 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR KotlinFieldBreakpoint created at withoutBodyProperties.kt:8 KotlinFieldBreakpoint created at withoutBodyProperties.kt:13 LineBreakpoint created at withoutBodyProperties.kt:21 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.out index 06256d1d927..9e68f0a1c10 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyProperties2.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR KotlinFieldBreakpoint created at withoutBodyProperties2.kt:8 KotlinFieldBreakpoint created at withoutBodyProperties2.kt:13 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.out index a217edbeac8..e4825bf1622 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/multipleBreakpoints/withoutBodyTypeParameters.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR FunctionBreakpoint created at withoutBodyTypeParameters.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/_kt.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/_kt.out index 029c85c8ffc..852e8b5ac80 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/_kt.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/_kt.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at .kt.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.out index 2acb081bb1e..c2af247f87b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/abstractFunCall.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at abstractFunCall.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.out index 2c783517e78..e79c4562150 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/accessToOverridenPropertyWithBackingField.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at accessToOverridenPropertyWithBackingField.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.out index a035ef34207..eab0984a45c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/annotationValue.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at annotationValue.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.out index ff6a7228696..ed287b69a61 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/anonymousObjects.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at anonymousObjects.kt:11 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.out index 749fa60f0dc..9e6ba263f3e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrayMethods.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at arrayMethods.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.out index 642f427a1d6..a13ce761b99 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/arrays.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at arrays.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.out index 5cbb8f0e4f1..cb1699f201c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxParam.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at boxParam.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.out index 1fd9798459f..b1ef66ba580 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/boxReturnValue.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at boxReturnValue.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.out index f0dcd785a01..7b3e912475a 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/callableBug.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at callableBug.kt:8 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.out index af530bb6ffc..60142bd8884 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classFromAnotherPackage.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at classFromAnotherPackage.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.out index eb6bd0fd4dc..57642b939a7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/classObjectVal.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at classObjectVal.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.out index a1e4614fcbc..a07e4ba3c26 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/collections.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at collections.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt new file mode 100644 index 00000000000..c124c7fe0ae --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.kt @@ -0,0 +1,11 @@ +package color + +import java.awt.* + +fun main(args: Array) { + //Breakpoint! + args.size +} + +// EXPRESSION: Color.red +// RESULT: instance of java.awt.Color(id=ID): Ljava/awt/Color; diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.out new file mode 100644 index 00000000000..97247468f98 --- /dev/null +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/color.out @@ -0,0 +1,8 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_WITH_OLD_EVALUATOR, JVM_IR_WITH_OLD_EVALUATOR +LineBreakpoint created at color.kt:7 +Run Java +Connected to the target VM +color.kt:7 +Disconnected from the target VM +Process finished with exit code 0 diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.out index 64b92adf560..2a8457b6362 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceAnonymousObject.kt:18 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.out index 92306145e52..ba4817b8bec 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectCapturedInClosure.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceAnonymousObjectCapturedInClosure.kt:7 lambdaOrdinal = -1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.out index 282ff8ee43b..a329660c1c2 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceAnonymousObjectThisAsReceiver.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceAnonymousObjectThisAsReceiver.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.out index e1404dfa671..53d39a769f2 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceLambda.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.out index 7e097ff71cc..f0ab44d1198 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceLocalClass.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out index b8309efe328..22aaf287ae6 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceLocalClassMembers.kt:19 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.out index f3f8f99d31d..346d5925a1c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassWithSuperClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceLocalClassWithSuperClass.kt:19 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out index c427c444bcd..9d18667dc70 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceMembers.kt:19 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.out index efcae5a0c01..d2a399735e5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceObject.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.out index b6f798c1cdb..0070d073af4 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSeveralLambdas.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceSeveralLambdas.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out index 8fea69e855e..98dfcde7033 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ceSuperAccess.kt:20 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.out index c86091e109e..f588365902f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateInvokeStatic.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at anyUpdateInvokeStatic.kt:25 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.out index 4946d15d66d..00e006478b7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/anyUpdateVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at anyUpdateVariable.kt:22 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out index 4370c48eaf0..230a08743f1 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at capturedReceiverName.kt:22 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.out index 11b7f6460d5..4022d4d998a 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/primitivesCoertion.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at primitivesCoertion.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.out index cd8bc2afdf0..88c76990f2e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeStatic.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at stringUpdateInvokeStatic.kt:25 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.out index bcf831cdda1..d38b13cf35b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateInvokeVirtual.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at stringUpdateInvokeVirtual.kt:24 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.out index 01fd30d0534..6bb8a7423ad 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdatePutField.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at stringUpdatePutField.kt:24 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.out index acea075910a..6f68468af28 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/coroutines/stringUpdateVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at stringUpdateVariable.kt:22 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.out index 982601279aa..38d8115032b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionCastToBuiltIn.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at createExpressionCastToBuiltIn.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.out index 24e48c8c688..a5b10207a6d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/createExpression/createExpressionWithArray.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at createExpressionWithArray.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.out index 7167326bfd3..47e2a128051 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dataClassCopy.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at dataClassCopy.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.out index a735e8443c6..e574c5da162 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at defaultParameterValues.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.out index f6f653c1bb1..7ca0e3765b5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/defaultParameterValues2.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at defaultParameterValues2.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.out index 9067d16b343..8d453a97e35 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedPropertyInOtherFile.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at delegatedPropertyInOtherFile.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.out index 9b56bce2866..debddbbba58 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/delegatedVariables.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at delegatedVariables.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.out index a5166e348fc..92d47717e16 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/dependentOnFile.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at dependentOnFile.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.out index d195ed6b5ce..7268a828786 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/doubles.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at doubles.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.out index e24b0f44f40..5ff2a29104b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/enums.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at enums.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.out index e2a9de4a13e..3b3dcd4f705 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/errors.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at errors.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.out index bfb020deee0..da9f69f59f1 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/escapedNames.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at escapedNames.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.out index db5cadf17ce..998ad4ceb96 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/experimentalApi.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at experimentalApi.kt:11 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.out index 6b17b0ddcee..924e37d43fe 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extraVariables/evDelegatedProperty.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at evDelegatedProperty.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.out index 0f5fc708b1b..94b5cb599c9 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractLocalVariables.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extractLocalVariables.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.out index dd1102ea3eb..94940e907ad 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThis.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extractThis.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.out index 13964ff0ed8..044ba7fe408 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractThisInTrait.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at extractThisInTrait.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.out index 7f7dc8c9168..516b9dde487 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/extractVariablesFromCall.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at extractVariablesFromCall.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.out index acf29dcca3d..998ba98b996 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fieldGetters.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at fieldGetters.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.out index ce3ffabd181..62e2f862779 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/fileWithError.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at fileWithInternal.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.out index a4f9152ee6e..1973b0fe280 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/capturedValues1.out @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at capturedValues1.kt:17 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.out index 08fbe2b76de..121e1a95d9f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/catchVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR LineBreakpoint created at catchVariable.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.out index 3cc524f51e6..dfb9c9428b2 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at coroutineContextFun.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.out index 9ea1365be01..5a188e3ecff 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at coroutineContextLambda.kt:15 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.out index 813221ab180..8a441f5eb69 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/coroutineContextWithoutSuspend.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at coroutineContextWithoutSuspend.kt:11 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.out index c1f7cfed0eb..f2c46a7a932 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/defaultImplsMangling.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at defaultImplsMangling.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.out index 6d223423677..7a75adfdf6e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at delegatedPropertyInClass.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.out index 19a2537f35c..6d0445e95ba 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/delegatedPropertyInClassKotlinVariables.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at delegatedPropertyInClassKotlinVariables.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.out index ec3c7b4b40a..80a690ba6b6 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClassObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameClassObject.kt:16 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.out index 28229453f48..d817fd38b12 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameClosingBracket.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameClosingBracket.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.ir.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.ir.out index 4036ab9a16e..64ffe092e1c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.ir.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.ir.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameExtFunExtFun.kt:24 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.out index b57c01ddfd2..dc9c0898ea7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtFunExtFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameExtFunExtFun.kt:24 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.out index 7d9035c7034..98294bb238d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameExtensionFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameExtensionFun.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.out index 69f1270fa56..2a4d43223d7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgument.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInlineArgument.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.out index 43f7537ec5b..6fc5bb3c2e8 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineArgumentInsideInlineFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInlineArgumentInsideInlineFun.kt:16 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.out index 4f16801efaf..4858f03d003 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInlineFun.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.out index 82bd77f5f04..e1185c355b0 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInlineFunCallInsideInlineFun.kt:19 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.out index d82de89c039..70fcdb9801d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInlineFunCallInsideInlineFunKotlinVariables.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInlineFunCallInsideInlineFunKotlinVariables.kt:21 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.out index 492dbdf907e..a6c1eb45a08 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInnerClass.kt:17 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.ir.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.ir.out index 5d68ec3e83a..afe6a3bce96 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.ir.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.ir.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInnerLambda.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.out index 3f09a7539da..13dc04bf0c9 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameInnerLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameInnerLambda.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.out index ababef46b15..e93568bb365 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameLambda.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.out index 92554c2acd2..bfb9be2bb86 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameLambdaNotUsed.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameLambdaNotUsed.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.out index 95258a20c76..179ceb62926 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameObject.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.out index 436d9b1e935..b1b90b70f52 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVar.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameSharedVar.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.out index e2f178a0bfb..29466a9e89b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSharedVarLocalVar.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameSharedVarLocalVar.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.out index e0df7a6214b..5c59ee7b22d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameSimple.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameSimple.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.out index 8afe2ff381e..594c09250bc 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameThis0.kt:16 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.out index 9c9af823221..f40eacb8fa5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0Ext.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameThis0Ext.kt:15 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.ir.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.ir.out index 024f3ca4c69..0e21cce87e0 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.ir.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.ir.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameThis0This0.kt:17 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.out index 00ba37bcaaa..f0f9c2a9139 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/frameThis0This0.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at frameThis0This0.kt:17 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.out index 62328a9ac24..8a84b515213 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/hideContinuationThis.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at hideContinuationThis.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.out index 2c0a87a2557..dc35e9ee0df 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun2.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaFun2.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.out index 8eb2140e080..6d9ace11a5c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun3.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at lambdaFun3.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.out index 82633ed51b7..b69c2774b73 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaFun4.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaFun4.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.out index c05e4514f75..c320aee9270 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaParameterMangling.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaParameterMangling.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.out index 10862b68105..95f250c3606 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/lambdaThisMangling.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaThisMangling.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.out index 73cb3a56300..cd68be281d1 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/localFunctionMangling.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at localFunctionMangling.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.out index 4cf575d4926..7f1bbfed3be 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/remapThis.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at remapThis.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.out index 956f6fd2cf6..3c2cd0a7710 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/frame/suspendContinuation.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at suspendContinuation.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.out index 0ecfdc102cf..590c6e64f27 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/funFromSuperClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at funFromSuperClass.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.out index 0dde5795efa..ddfb757a1e9 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionDeclaration.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at functionDeclaration.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.out index 238eecf02da..a9132e56687 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/functionWithBodyExpression.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at functionWithBodyExpression.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.out index f2955f1667e..5b53bfd7a94 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/imports.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at imports.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.out index e3a1d987c57..b382b4d9420 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/importsLambdaContext.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at importsLambdaContext.kt:10 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.out index 51a29743f4c..e7627baffab 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunInMultiFilePackage.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at inlineFunInMultiFilePackage.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.out index 783076b57d1..d454d9b4444 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineFunction.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at inlineFunction.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.out index ddece1ccef3..c72a37a6a7c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/inlineMethodsInSignature.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at inlineMethodsInSignature.kt:8 Run Java Connected to the target VM @@ -6,4 +7,3 @@ Compile bytecode for (i).toString() Disconnected from the target VM Process finished with exit code 0 - diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.out index de750dbacd8..d22131aa4ee 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/innerClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at innerClass.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.out index 5689a6a3bc2..28b9da7a1d2 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/insertInBlock.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at insertInBlock.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.out index b7fffbf4bf1..a3bc071b42b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalFunctionEvaluate.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at internalFunctionEvaluate.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.out index 2a3358ba327..c1a06f8c078 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/internalProperty.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at internalProperty.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.out index f74cd5d872a..b95c17cd606 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcBlock.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at jcBlock.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.out index a5b8bc9a466..091000343bd 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcImports.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at jcImports.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.out index 85ee1a94c33..c4c9516e85d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcLocalVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at jcLocalVariable.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.out index 1fdb5e045f2..5617431d956 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcMarkedObject.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at test.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.out index 3a284888126..19da9db3f6b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcProperty.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at test.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.out index 7a640bfd278..c8bd79628d1 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaContext/jcSimple.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at jcSimple.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.out index 3c184956fe4..3512146ecd5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/javaStaticMethods.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at javaStaticMethods.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.out index 413c81f1214..85795c0bebb 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kClass.kt:11 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.out index 88c8bd88685..528d3dc84c4 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt12206BasePropertyWithoutBackingField.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt12206BasePropertyWithoutBackingField.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.out index bec9c2aaee4..293308e832e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt15259.out @@ -1,4 +1,4 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt15259.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.out index 5051873761f..d0c41460e51 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt17514.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt17514.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.out index d4acb311695..16aa7e991be 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt22366.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt22366.kt:6 lambdaOrdinal = -1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.out index 49cbb61da0a..634e328e761 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25220.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt25220.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.out index 26adf034a17..0c7a62a8689 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt25222.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt25222.kt:16 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.out index 4eaca81f219..0319d4ff4af 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt28087.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt28087.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.out index db0fdd92a31..f99ff175601 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt29179.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at kt29179.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.out index e2671db92e7..2e48d9bceb5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt31709.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt31709.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.out index 1e6d4b2be4b..5c835a716ce 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt36404.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at test.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.out index 515e4ce7940..767aa40ad19 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt5554OnlyIntsShouldBeCoerced.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt5554OnlyIntsShouldBeCoerced.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.out index 514ac943c01..c95054f0eda 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/kt7046localVarInInline.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at kt7046localVarInInline.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.out index 9d7c2ba3c57..2a13c0d2e10 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lCallOnLabeledObj.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lCallOnLabeledObj.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.out index 42ed0ce1f76..8555aa83de5 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lIdentifier.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lIdentifier.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.out index 83743c042ec..294507156dc 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSeveralLabels.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lSeveralLabels.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.out index 14b04463c74..24a47a4281a 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/lSimple.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lSimple.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.out index 4b8d7408d75..a71f615187c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/labels/ldifferentTypes.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at ldifferentTypes.kt:88 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.out index 469038de515..cc58005c545 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdaToString.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaToString.kt:3 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.out index 9a50bec4ebf..4daea7cc966 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/destructuringParam.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at destructuringParam.kt:12 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.out index 5d1036eaa75..14232d4d159 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineFunctionalExpression.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR LineBreakpoint created at inlineFunctionalExpression.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.out index adcfd42e19a..8bc2d04439a 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/inlineLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at inlineLambda.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.out index d742a3c53d7..0693ad7e962 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnReturn.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaOnReturn.kt:14 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.out index f793b71e275..7a0fd222a18 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/lambdaOnSecondLine.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at lambdaOnSecondLine.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.out index bc40ee7fd86..a598fd3bddc 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineFunctionalExpression.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at oneLineFunctionalExpression.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.out index 953c338a5b2..4de9d9324b7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/oneLineLambda.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at oneLineLambda.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.out index 115b298ccca..1bbac30f36f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineFirst.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at twoLambdasOnOneLineFirst.kt:9 lambdaOrdinal = -1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.out index 419bb093519..5946ed3207c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/twoLambdasOnOneLineSecond.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at twoLambdasOnOneLineSecond.kt:8 lambdaOrdinal = 2 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.out index e0a1e937067..108d0d2a1b3 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/lambdas/underscoreNames.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at underscoreNames.kt:18 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.out index 3b449090aca..e3fd096584b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at localClass.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out index 691ea28030f..43d6027f99d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at localFunctionCapturedLocalVariable.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.out index be463b4edf9..b5c1f5da4eb 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localFunctionsWithReceivers.out @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JVM_IR +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_IR_WITH_OLD_EVALUATOR LineBreakpoint created at localFunctionsWithReceivers.kt:10 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.out index 5d9ef3ccf54..e65a82b33ef 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/localVariables.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at localVariables.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.out index 5a517280455..7201c0641b7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/methodWithBreakpoint.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at methodWithBreakpoint.kt:5 LineBreakpoint created at methodWithBreakpoint.kt:10 Run Java diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.out index 31f876f8081..f9530817bcf 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/multilineExpressionAtBreakpoint.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at multilineExpressionAtBreakpoint.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.out index b11d1c53975..e4a83a298a8 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nestedInlineArguments.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at nestedInlineArguments.kt:13 lambdaOrdinal = 1 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.out index d63d2b30475..ac658f3cf7e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nonAssignmentLValue.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at nonAssignmentLValue.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.out index dec71cf147c..23a25bde065 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/nothing.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at nothing.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.out index 09b695f503c..7bf6a5802e1 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onClassHeader.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at onClassHeader.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.out index 141372c55fc..08fa730d901 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onGetter.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at onGetter.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.ir.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.ir.out index 6227112763a..290c210754f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.ir.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.ir.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at onObjectHeader.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.out index 2e4073db494..724ff202d76 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/onObjectHeader.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at onObjectHeader.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.out index 1437e5fb730..240cc4dee52 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/package.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at package.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.out index c7a32becdae..bd0ddfe654e 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/parametersOfInlineFun.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at parametersOfInlineFun.kt:15 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.out index f025d6cbe48..967fbbc6d67 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateClass.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at privateClass.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.out index 94bb925a573..283a6fbb013 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateFieldInCompanion.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at privateFieldInCompanion.kt:18 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.out index 5855d137cbf..3104844814d 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privateMember.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at privateMember.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.out index 9564bc25479..278a0826ef7 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/privatePropertyWithExplicitDefaultGetter.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at privatePropertyWithExplicitDefaultGetter.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.out index e9018891c82..fd03e8cf724 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/protectedMember.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at protectedMember.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.out index 97c45987fe9..3d4d20f492b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/rawTypeskt11831.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at rawTypeskt11831.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.out index 5d7731dd6c2..a1c44ef5e00 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/simple.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at simple.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.out index 4be507fbbc2..8633034b235 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/statements.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at statements.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.out index 6c869c2bcae..9e8371fb87b 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/staticField.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR FunctionBreakpoint created at staticField.kt:9 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.out index 0beeeb69d4d..44647b11859 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/stdlib.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at stdlib.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.out index de7d57cc0c5..c503a0b535f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsCaptured.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at superCallsCaptured.kt:15 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.out index 80f2ab9bc80..350dd167022 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/superCallsSimple.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at superCallsSimple.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.out index 0a4d8c8ac1d..82e41c5b745 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/suspendCalls.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at suspendCalls.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.out index ba1e0bea772..83ea1d1090f 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/synchronizedBlock.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at synchronizedBlock.kt:5 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.out index 9ea43d44489..f951ec146b9 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typeParameterRef.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at typeParameterRef.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.out index 40f22f87872..961ebf4dd10 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/typedArray.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at typedArray.kt:6 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.out index 933a7177f92..5bbd211df28 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unboxParam.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at unboxParam.kt:12 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.out index e1789ded84e..2e874a76849 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/unsafeCall.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at unsafeCall.kt:8 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.out index a06fef7a49e..f9bf60b80ea 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/valueParameterName.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at valueParameterName.kt:13 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.out index 17d84fcd45e..4af252e6a98 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/variableAsFunction.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at variableAsFunction.kt:14 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.out index 97f8de0233b..d9b8a5dd091 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/vars.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at vars.kt:7 Run Java Connected to the target VM diff --git a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.out b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.out index cf1234953a3..1c408c5252c 100644 --- a/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.out +++ b/idea/jvm-debugger/jvm-debugger-test/testData/evaluation/singleBreakpoint/whenEvaluation.out @@ -1,3 +1,4 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR LineBreakpoint created at whenEvaluation.kt:6 Run Java Connected to the target VM diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.kt b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.kt new file mode 100644 index 00000000000..c124c7fe0ae --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.kt @@ -0,0 +1,11 @@ +package color + +import java.awt.* + +fun main(args: Array) { + //Breakpoint! + args.size +} + +// EXPRESSION: Color.red +// RESULT: instance of java.awt.Color(id=ID): Ljava/awt/Color; diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.out new file mode 100644 index 00000000000..97247468f98 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/color.out @@ -0,0 +1,8 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +// IGNORE_BACKEND: JVM_WITH_OLD_EVALUATOR, JVM_IR_WITH_OLD_EVALUATOR +LineBreakpoint created at color.kt:7 +Run Java +Connected to the target VM +color.kt:7 +Disconnected from the target VM +Process finished with exit code 0 diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out new file mode 100644 index 00000000000..22aaf287ae6 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceLocalClassMembers.out @@ -0,0 +1,17 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at ceLocalClassMembers.kt:19 +Run Java +Connected to the target VM +ceLocalClassMembers.kt:19 +Compile bytecode for class MyClass { + fun test() = publicFun() + publicVal + protectedFun() + protectedVal + privateFun() + privateFun() +} + +val a = MyClass() +a.test() + +// RESULT: 6: I + +Disconnected from the target VM + +Process finished with exit code 0 diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out new file mode 100644 index 00000000000..9d18667dc70 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceMembers.out @@ -0,0 +1,14 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at ceMembers.kt:19 +Run Java +Connected to the target VM +ceMembers.kt:19 +Compile bytecode for foo { publicFun() } +Compile bytecode for foo { publicVal } +Compile bytecode for foo { protectedFun() } +Compile bytecode for foo { protectedVal } +Compile bytecode for foo { privateFun() } +Compile bytecode for foo { privateVal } +Disconnected from the target VM + +Process finished with exit code 0 diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out new file mode 100644 index 00000000000..98dfcde7033 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/compilingEvaluator/ceSuperAccess.out @@ -0,0 +1,14 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at ceSuperAccess.kt:20 +Run Java +Connected to the target VM +ceSuperAccess.kt:20 +Compile bytecode for foo { publicFun() } +Compile bytecode for foo { publicVal } +Compile bytecode for foo { protectedFun() } +Compile bytecode for foo { protectedVal } +Compile bytecode for foo { privateFun() } +Compile bytecode for foo { privateVal } +Disconnected from the target VM + +Process finished with exit code 0 diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out new file mode 100644 index 00000000000..230a08743f1 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/coroutines/capturedReceiverName.out @@ -0,0 +1,11 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at capturedReceiverName.kt:22 +Run Java +Connected to the target VM +capturedReceiverName.kt:22 +Compile bytecode for character +capturedReceiverName.kt:22 +Disconnected from the target VM + +Process finished with exit code 0 +OK diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out new file mode 100644 index 00000000000..43d6027f99d --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/localFunctionCapturedLocalVariable.out @@ -0,0 +1,9 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at localFunctionCapturedLocalVariable.kt:7 +Run Java +Connected to the target VM +localFunctionCapturedLocalVariable.kt:7 +Compile bytecode for a +Disconnected from the target VM + +Process finished with exit code 0 diff --git a/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/suspendCalls.out b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/suspendCalls.out new file mode 100644 index 00000000000..82e41c5b745 --- /dev/null +++ b/libraries/tools/new-project-wizard/src/org/jetbrains/kotlin/tools/projectWizard/plugins/kotlin/jvm-debugger/test/testData/evaluation/singleBreakpoint/suspendCalls.out @@ -0,0 +1,8 @@ +// IGNORE_BACKEND: JVM_WITH_IR_EVALUATOR, JVM_IR_WITH_IR_EVALUATOR +LineBreakpoint created at suspendCalls.kt:5 +Run Java +Connected to the target VM +suspendCalls.kt:5 +Disconnected from the target VM + +Process finished with exit code 0