The new option `stackTraceLimit`, like the corresponding option in
Chrome, allows us to specify how many stack frames we want when
stopped at a breakpoint. It can be set as high as you like.
Negative numbers will cause an error.
The default number of frames is set to 50 to prevent possible
performance issues; if you wish to capture all frames, no matter the
consequences, set this option to a high number, like `99999`.
V8 debugger does not include attributes of properties returned by 'scope'
request. To work around this issue, we use 'scope' request only to get
handle (ref) of the scope and send a regular 'lookup' request to get scope
properties.
Modified CallFramesProvider so that it does not fetch scope details
together with call frames. It creates a special objectId instead.
RuntimeAgent.getProperties checks for this special objectId format
and delegates getProperties to CallFramesProvider, which sends
'scope' debugger request to get scope details.
This change should reduce the time between debugged process hitting
a breakpoint and node-inspector pausing in the browser.
Created tools/gjslint.sh that can be used to automatically check for
conformance with Google coding style.
Added semicolons to the end of all statements where it was missing.
Fixed spacing inconsistencies.
Added missing type info to JsDoc comments in ScriptManager.js
Removed commas at end of object literals.
Wrapped extra long lines.
* Fixed convert.v8RefToInspectorObject to correctly decode object class name
and buffer/array size into description.
* Modified debugger.sendDebugRequest to send refs lookup table to callback.
* Extracted code for launching debugger from mocha tests into a standalone
file (module).