Compare commits
2 Commits
0.9.26-bet
...
0.9.28-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
d8e46c3149
|
|||
|
5fc5eb08f8
|
@@ -1,4 +1,4 @@
|
|||||||
project_group = me.topchetoeu
|
project_group = me.topchetoeu
|
||||||
project_name = jscript
|
project_name = jscript
|
||||||
project_version = 0.9.26-beta
|
project_version = 0.9.27-beta
|
||||||
main_class = me.topchetoeu.jscript.utils.JScriptRepl
|
main_class = me.topchetoeu.jscript.utils.JScriptRepl
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ public class SimpleDebugger implements Debugger {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ObjRef(Context ctx, ObjectValue obj) {
|
public ObjRef(Context ctx, ObjectValue obj) {
|
||||||
this.ctx = ctx;
|
this.ctx = ctx.environment.context();
|
||||||
this.obj = obj;
|
this.obj = obj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -349,8 +349,7 @@ public class SimpleDebugger implements Debugger {
|
|||||||
}
|
}
|
||||||
private JSONMap serializeObj(Context ctx, Object val, boolean byValue) {
|
private JSONMap serializeObj(Context ctx, Object val, boolean byValue) {
|
||||||
val = Values.normalize(null, val);
|
val = Values.normalize(null, val);
|
||||||
var newEnv = new Environment();
|
var newEnv = ctx.environment.child();
|
||||||
newEnv.addAll(ctx);
|
|
||||||
newEnv.add(DebugContext.IGNORE);
|
newEnv.add(DebugContext.IGNORE);
|
||||||
ctx = newEnv.context();
|
ctx = newEnv.context();
|
||||||
|
|
||||||
@@ -750,6 +749,7 @@ public class SimpleDebugger implements Debugger {
|
|||||||
var id = Integer.parseInt(msg.params.string("breakpointId"));
|
var id = Integer.parseInt(msg.params.string("breakpointId"));
|
||||||
|
|
||||||
idToBreakpoint.remove(id);
|
idToBreakpoint.remove(id);
|
||||||
|
updateBreakpoints();
|
||||||
ws.send(msg.respond());
|
ws.send(msg.respond());
|
||||||
}
|
}
|
||||||
@Override public synchronized void continueToLocation(V8Message msg) throws IOException {
|
@Override public synchronized void continueToLocation(V8Message msg) throws IOException {
|
||||||
|
|||||||
Reference in New Issue
Block a user