Rollback "Fix for KT-10659: Debugger: Evaluate Expression and Watches fail for inline function parameter passed by reference"
This commit is contained in:
@@ -94,8 +94,8 @@ public class LocalVarRemapper {
|
||||
|
||||
public void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index, MethodVisitor mv) {
|
||||
RemapInfo info = doRemap(index);
|
||||
//add entries only for shifted vars or remapped to locals
|
||||
if (SHIFT == info.status || REMAPPED == info.status && info.value instanceof StackValue.Local) {
|
||||
//add entries only for shifted vars
|
||||
if (SHIFT == info.status) {
|
||||
int newIndex = ((StackValue.Local) info.value).index;
|
||||
mv.visitLocalVariable(name, desc, signature, start, end, newIndex);
|
||||
}
|
||||
|
||||
@@ -7,5 +7,6 @@ fun main(args: Array<String>) {
|
||||
watch(local) { it.length }
|
||||
}
|
||||
|
||||
// 2 LOCALVARIABLE p
|
||||
// 1 LOCALVARIABLE p\$iv
|
||||
/*fix rollbacked cause of robovm problem*/
|
||||
// 1 LOCALVARIABLE p
|
||||
// 0 LOCALVARIABLE p\$iv
|
||||
Reference in New Issue
Block a user