Debugger: Fix some output

This commit is contained in:
Ryan Dahl 2010-12-22 18:39:22 -08:00
parent b5aed43f04
commit 3be4f097a3

View File

@ -142,7 +142,6 @@ Client.prototype._onResponse = function(res) {
if (res.headers.Type == 'connect') {
// do nothing
console.log(res);
this.emit('ready');
} else if (res.body && res.body.event == 'break') {
this.emit('break', res.body);
@ -373,7 +372,7 @@ function startInterface() {
});
c.on('break', function (res) {
var result = '';
var result = '\r\n';
if (res.body.breakpoints) {
result += 'breakpoint';
if (res.body.breakpoints.length > 1) {