mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
[debugger] fix slow repl evals inside async callbacks
This commit is contained in:
1 parent
79265fe389
commit
69fa7ef65d
1 file changed
+1
-1
+1
-1
@@ -764,7 +764,7 @@ Interface.prototype.debugEval = function(code, context, filename, callback) {
|
||||
}
|
||||
|
||||
self.pause();
|
||||
client.reqEval(code, function(res) {
|
||||
client.reqFrameEval(code, undefined, function(res) {
|
||||
if (!res.success) {
|
||||
if (res.message) {
|
||||
callback(res.message);
|
||||
|
||||
Reference in new issue
Block a user