Hi,
Is there a way to debug v8 runtime functions with eclipse CDT?
For example:
https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/runtime/runtime-function.cc&q=runtime-function&sq=package:chromium&l=528
在 2015年7月23日星期四 UTC+8上午3:44:36,Adrian Perez de Castro写道:
>
> Deepak Subramanian <[email protected] <javascript:>> writes:
>
> > Thanks Adrian,
>
> You're welcome :)
>
> > Is there an equivalent in Ninja build as well ?
>
> Yes, there is. You can do something like:
>
> % export GYP_GENERATORS=ninja \
> ./build/gyp_v8 -Dv8_enable_disassembler=1 \
> -Dv8_enable_backtrace=1 \
> -Dv8_enable_gdbjit=1 \
> -Dv8_enable_verify_heap=1 \
> -Dv8_enable_object_print=1 && ninja
>
> > This is really useful. Why is gdbjit off ?
>
> Most of the time I don't use/need it. Feel free to enable it. It uses
> the GDB JIT interface [1] to register JITed code into GDB, and make GDB
> treat it a bit better.
>
> Cheers,
>
>
> --
> ⌨ Adrian
>
> ---
> [1] https://www.sourceware.org/gdb/onlinedocs/gdb/JIT-Interface.html
>
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.