mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
JS: fix bug in debugger
This commit is contained in:
parent
2eafb902f4
commit
bb9ca77349
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user