Pinned post
Joyee Cheung
@JoyeeCheung
She/Her. I contribute to Node.js and V8.
798 Following 5.1K Followers 3K Posts
Latest posts 5
Landed JS argument inspection support in the GDB & LLDB plugins for V8, for both live and coredump debugging
- bt now shows previews of JS arguments for JS frames
- New `v8 args` command to show arguments of selected frame
- `v8 inspect` now takes this, arg names and indices
- bt now shows previews of JS arguments for JS frames
- New `v8 args` command to show arguments of selected frame
- `v8 inspect` now takes this, arg names and indices
It's been a great experience to contribute to the V8 upgrades for the 27 release and improve the V8 upgrade process in Node.js in the past months. Thanks @TechAtBloomberg for supporting my work on this :D
Last week, the new Node.js 27 Alpha release upgrades V8 to version 15.6, from the 14.6 used by Node.js 26. Let's take a closer look at what this means for developers and what the new version of V8 brings.View quoted post on X
- New JS features and language changes
- Performance improvements
- Memory usage and GC changes
- Diagnostic and tooling changes
- Behavior differences
..and more!
nodejs.org/en/blog/announ…
Landed fixes in GCC & Clang for [expr.static.cast]/8 wrong-code bugs when investigating a V8 bug related to it. Previously:
enum Flag : bool { kNo, kYes };
static_cast<Flag>(2); // kNo in GCC ❌, kYes in Clang ✅
static_cast<Flag>(0.5); // kNo in GCC and Clang ❌
enum Flag : bool { kNo, kYes };
static_cast<Flag>(2); // kNo in GCC ❌, kYes in Clang ✅
static_cast<Flag>(0.5); // kNo in GCC and Clang ❌
Added some new commands to the GDB & LLDB plugin for V8..
`v8 source`: shows the JS source of the selected frame
`v8 isolate`: find the isolate address in the current thread, works from the coredump too (implementing that in LLDB was quite a bit of challenge!)
`v8 source`: shows the JS source of the selected frame
`v8 isolate`: find the isolate address in the current thread, works from the coredump too (implementing that in LLDB was quite a bit of challenge!)