Client.prototype.reqContinue = function(cb) {
+ this.currentFrame = NO_FRAME;
this.req({ command: 'continue' }, function(res) {
if (cb) cb(res);
});
arguments: { stepaction: action, stepcount: count }
};
+ this.currentFrame = NO_FRAME;
this.req(req, function(res) {
if (cb) cb(res);
});
name: prop.name,
value: mirrorValue
};
- if (value.handle && depth > 0) {
+ if (value && value.handle && depth > 0) {
waiting++;
self.mirrorObject(value, depth - 1, function(result) {
keyValues[i].value = result;
return chunk;
}).map(function(chunk) {
return '< ' + chunk;
- }).join('\n') + '\n');
+ }).join('\n'));
+ this.repl.displayPrompt();
};
Interface.prototype.error = function(text) {
return;
}
+ var frame;
+
+ if (client.currentFrame === NO_FRAME) {
+ frame = NO_FRAME;
+ };
+
self.pause();
- client.reqFrameEval(code, undefined, function(res) {
+ client.reqFrameEval(code, frame, function(res) {
if (!res.success) {
if (res.message) {
callback(res.message);