pass noRefs as arguments
authorFedor Indutny <fedor.indutny@gmail.com>
Wed, 14 Dec 2011 07:53:30 +0000 (13:53 +0600)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 19 Dec 2011 19:09:16 +0000 (11:09 -0800)
lib/_debugger.js

index 553edb8..eb281f7 100644 (file)
@@ -405,7 +405,7 @@ Client.prototype.reqFrameEval = function(expression, frame, cb) {
 // reqBacktrace(cb)
 // TODO: from, to, bottom
 Client.prototype.reqBacktrace = function(cb) {
-  this.req({ command: 'backtrace', noRefs: true } , cb);
+  this.req({ command: 'backtrace', arguments: { noRefs: true } } , cb);
 };