llnode icon indicating copy to clipboard operation
llnode copied to clipboard

Suggestion: JavaScript/Simplified mode

Open mmarchini opened this issue 5 years ago • 1 comments

Thinking about the usability of llnode for JavaScript developers, showing native calls and memory addresses can be intimidating. Maybe we could have a JavaScript-only mode, which shows objects by an unique identifier instead of their addresses (for example, Foo#3 instead of 0x00ffabcd34561) and only shows JavaScript frames on v8 bt. This could be the default mode (which would require a semver-major release, although we already need one since we dropped v4.x and v9.x).

mmarchini avatar Sep 09 '18 12:09 mmarchini

SGTM. We may also need to be able to translate the inspect call so that users can call inspect on JS symbols instead of addresses, otherwise you won't b able to investigate further beyond v8 bt when debugging.

joyeecheung avatar Sep 10 '18 08:09 joyeecheung