Skip to content

build: enable V8 gdb/lldb plugin support - #65786

Open
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:v8-debug-helper
Open

build: enable V8 gdb/lldb plugin support#65786
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:v8-debug-helper

Conversation

@legendecas

@legendecas legendecas commented Sep 4, 2026

Copy link
Copy Markdown
Member

Build libv8_debug_helper.{so|dylib} to enable V8 gdb/lldb postmortem
plugin support for the V8 version that Node.js built with.

The built debug helper library can be loaded with this V8 gdb/lldb
https://chromium.googlesource.com/v8/v8.git/+/refs/heads/main/tools/debug_helper/plugins/
plugin.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Sep 4, 2026
Build `v8_debug_helper.{so|dylib}` to enable V8 gdb/lldb postmortem
plugin support for the V8 version that Node.js built with.

Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>

@joyeecheung joyeecheung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. FWIW I had tested this commit joyeecheung@e280b0e a while back which disables it if the V8 is not bundled (in which case we don't know if it's compatible). I plan to add some version matching mechanism similar to Windbg to ensure that there is some compatibility check. IIRC as early as 15.3 we already had a "ABI" breaking change.

@legendecas legendecas added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs with CI started, the required approvals, and no outstanding review comments. labels Sep 4, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 4, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs with CI started, the required approvals, and no outstanding review comments. build Issues and PRs related to Node.js builds or CI infrastructure. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants