Skip to content

Instantly share code, notes, and snippets.

@othiym23
Created September 26, 2013 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save othiym23/caab91ee22d4362819d1 to your computer and use it in GitHub Desktop.
Save othiym23/caab91ee22d4362819d1 to your computer and use it in GitHub Desktop.
> er
{ handle: 14,
type: 'error',
className: 'Error',
constructorFunction: { ref: 4 },
protoObject: { ref: 5 },
prototypeObject: { ref: 6 },
properties:
[ { name: 'stack', attributes: 2, propertyType: 3, ref: 6 },
{ name: 'message', attributes: 2, propertyType: 1, ref: 7 } ],
text: 'TypeError: Cannot read property \'length\' of undefined' }
> console.log(er.stack)
< node.js:309
< for (i = 0; i < asyncQueue.length; i++) {
< ^
< TypeError: Cannot read property 'length' of undefined
< at runAsyncQueue (node.js:309:33)
< at Function.exports.setImmediate (timers.js:395:5)
< at Function.global.setImmediate (node.js:200:29)
< at Runner.hook (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:260:10)
< at next (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:287:10)
< at Runner.hooks (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:297:3)
< at Runner.hookUp (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:310:8)
< at Runner.uncaught (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:482:10)
< at process.uncaught (/Users/forrest/Documents/projects/newrelic/nodejs-agent-git/node_modules/mocha/lib/runner.js:504:10)
< at process.EventEmitter.emit (events.js:103:17)
< at process._fatalException (node.js:234:26)
< at createWriteReq (net.js:707:21)
< at Socket._writeGeneric (net.js:650:11)
< at Socket._write (net.js:673:8)
< at doWrite (_stream_writable.js:257:12)
< at writeOrBuffer (_stream_writable.js:244:5)
< at Socket.Writable.write (_stream_writable.js:191:11)
< at Socket.write (net.js:600:40)
< at Console.log (console.js:53:16)
< at eval (eval at errorHandler (node.js:426:33), <anonymous>:1:9)
< at FrameMirror.evaluate (native)
< at DebugCommandProcessor.evaluateRequest_ (native)
< at DebugCommandProcessor.processDebugJSONRequest (native)
< at DebugCommandProcessor.processDebugRequest (native)
< at errorHandler (node.js:426:33)
< at process._fatalException (node.js:228:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment