From b20c98e42708668c564d5f83bad83cf074cf4f58 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 20 Sep 2011 17:12:32 +0700 Subject: [PATCH] fix 'null' mirroring --- lib/_debugger.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/_debugger.js b/lib/_debugger.js index 4deb0ec87ed..efda5237f48 100644 --- a/lib/_debugger.js +++ b/lib/_debugger.js @@ -561,6 +561,8 @@ Client.prototype.mirrorObject = function(handle, depth, cb) { return; } else if (handle.type === 'function') { val = function() {}; + } else if (handle.type === 'null') { + val = null; } else if (handle.value !== undefined) { val = handle.value; } else if (handle.type === 'undefined') {