This commit is contained in:
TopchetoEU 2023-10-29 12:33:18 +02:00
commit d1e93c2088
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -424,7 +424,7 @@ public class SimpleDebugger implements Debugger {
env.global = new GlobalScope(local);
var ctx = new Context(engine).pushEnv(env);
var awaiter = engine.pushMsg(false, ctx, new Filename("temp", "exec"), code, codeFrame.frame.thisArg, codeFrame.frame.args);
var awaiter = engine.pushMsg(false, ctx, new Filename("temp", "exec"), "(" + code + ")", codeFrame.frame.thisArg, codeFrame.frame.args);
engine.run(true);