-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
After running $ ./configure --gdb; make it should be possible to do this from gdb:
$ gdb --args ./iojs --gdbjit /tmp/crash.js
(gdb) break __jit_debug_register_code
And it should break like so:
Starting program: /var/projects/nubjs-deps/v8/out/x64.release/d8 --gdbjit /tmp/crash.js
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff53b4700 (LWP 8650)]
[New Thread 0x7ffff5bb5700 (LWP 8649)]
[New Thread 0x7ffff63b6700 (LWP 8648)]
[New Thread 0x7ffff6bb7700 (LWP 8647)]
Breakpoint 1, 0x00000000004dbc00 in __jit_debug_register_code ()
But it doesn't. The above was captured from d8 setting ENABLE_GDB_JIT_INTERFACE.
I'll look into this later. Just filing a proper issue.
EDIT: Missing breakpoint is only exhibited on current next branch.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.