Disable snapshot with d8

109 views
Skip to first unread message

Rix

unread,
May 26, 2023, 4:31:59 PM5/26/23
to v8-dev
I want to debug some of the Genesis builtin functions in bootstrapper.cc
However even with v8_use_external_startup_data=false set, a pre-built snapshot is still being used and there's no way to debug pre-built builtins.

Is there a compile/runtime flag I can use to disable the snapshot completely and always build the context from scratch?

Jing Peiyang

unread,
May 28, 2023, 10:04:25 PM5/28/23
to v8-dev

Jakob Kummerow

unread,
May 30, 2023, 4:54:21 AM5/30/23
to v8-...@googlegroups.com
You cannot disable the snapshot, but you can run the mksnapshot binary (which runs as part of the build process) in a debugger.

Reply all
Reply to author
Forward
0 new messages