ajaxorg/cloud9 — Issue #704: Parsing exceptions from debugger during variable inspection
Author: yozlet
Created: 2011-12-15 23:28:03+00:00
State: open

I'm seeing plenty of these exceptions from the cloud9 server when inspecting objects in the Variable tab.

```
uncaught exception:
SyntaxError: Unexpected token ILLEGAL
at Object.parse (native)
at [object Object].$onMessage (/Users/yozwork/Work/external/cloud9/support/lib-v8debug/lib/v8debug/StandaloneV8DebuggerService.js:56:28)
at [object Object].$callback (native)
at [object Object].$onreceive (/Users/yozwork/Work/external/cloud9/support/lib-v8debug/lib/v8debug/MessageReader.js:29:18)
at [object Object]. (native)
at [object Object].emit (events.js:64:17)
at [object Object].$onData (/Users/yozwork/Work/external/cloud9/support/lib-v8debug/lib/v8debug/NodeSocket.js:105:14)
at Socket. (/Users/yozwork/Work/external/cloud9/support/lib-v8debug/lib/v8debug/NodeSocket.js:33:19)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:667:31)
```

It happens when I click the "+" box to expand the view of an object or array. It seems to happen the majority (but not all) of the time.

I'll try and dive into the code to get better info on where it's happening, but I'm right in the middle of something right now, so I'll add it here later if I get the chance.