How to change a value while debugging to a variable using a conditional breakpoint in a IntelliJ Kotlin project on the fly?
问题 In an Java Project this is possible while debugging by “mis”-using a conditional breakpoint to set a value to a property or variable: Java Breakpoint Unfortunately the same thing is not possible in a Kotlin Project. The error is: Assignments are not expressions, and only expressions are allowed in this context: Kotlin Breakpoint I know that I can do it in debugger window using “Set Value”, but then i have to do it every time manually. Using a conditional breakpoint/watchpoint the value is set