JS: fix bug in debugger

This commit is contained in:
Alexey Andreev 2019-05-17 18:51:34 +03:00
parent 2eafb902f4
commit bb9ca77349

View File

@ -294,8 +294,8 @@ public class DebugInformation {
private DebuggerCallSite getCallSite(int index) { private DebuggerCallSite getCallSite(int index) {
RecordArray.Record record = callSiteMapping.get(index); RecordArray.Record record = callSiteMapping.get(index);
int type = record.get(0); int type = record.get(2);
int method = record.get(1); int method = record.get(3);
switch (type) { switch (type) {
case DebuggerCallSite.NONE: case DebuggerCallSite.NONE:
return null; return null;