nodejs / llnode

An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.
Other
1.15k stars 99 forks source link

refactor: use `debug_helper` #414

Open tony-go opened 1 year ago

tony-go commented 1 year ago

Context

As v8 API evolves and changes, we have to catch and handle breaking changes in the code.

@kvakil suggest to use debug_helper in llnode see proposal.

The debug module includes GetStackFrame and GetObjectProperties functions. Presumably, V8 would be receptive to patches to implement other functionality.

Scope

The main goal is to make llnode more maintainable in the mid/long term.

Risks/Questions