Yes, building V8 with {tools/dev/gm.py x64.debug} will configure a debug build of V8. Please note that gm.py is just a convenience wrapper. The source of truth for a build configuration can always be found in the { args.gn} file of the respective build. In your case this should be {out/x64.debug/args.gn}, which will contain a line {is_debug = true}.
On Fri, Aug 16, 2019 at 8:14 AM 杨亮 <yangliang.158...@bytedance.com> wrote: > The doc says to build v8 with tools/dev/gm.py x64.release, so is that mean > I should build the debug mode d8 with tools/dev/gm.py x64.debug ? Im not > very shall how to build the v8 in debug mode. Very thanks man! > On Friday, August 16, 2019 at 1:15:14 PM UTC+8, Rodolph Perfetta wrote: >> >> They probably meant you need to build d8 in debug mode. more info here: >> https://v8.dev/docs/build >> >> On Thu, 15 Aug 2019 at 22:38, 杨亮 <yanglia...@bytedance.com> wrote: >> >>> Thanks man. In fact I have use the --allow-natives-syntax, but I can't >>> get enough information about a function, someone say that I need run d8 In >>> the debug mode, but I don't know how. >>> >>> On Thursday, August 15, 2019 at 10:38:07 PM UTC+8, Rodolph Perfetta >>> wrote: >>>> >>>> To be able to use native functions starting with % such as %DebugPrint >>>> you need to pass --allow-natives-syntax to d8 on the command line. >>>> >>>> Cheers, >>>> Rodolph >>>> >>>> On Thu, 15 Aug 2019 at 09:26, 杨亮 <yanglia...@bytedance.com> wrote: >>>> >>>>> hi,I want to know how I can run d8 in debug mode so I can >>>>> use %DebugPrint command,I can just get one line output info,seems I need >>>>> run d8 in the debug mode ? >>>>> >>>>> -- >>>>> -- >>>>> v8-users mailing list >>>>> v8-u...@googlegroups.com >>>>> 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 v8-u...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/v8-users/1f274ea5-a181-443a-882b-a8249f247799%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/v8-users/1f274ea5-a181-443a-882b-a8249f247799%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> -- >>> v8-users mailing list >>> v8-u...@googlegroups.com >>> 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 v8-u...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/v8-users/5c6a92d3-3d7c-4101-84b3-387de584058f%40googlegroups.com >>> <https://groups.google.com/d/msgid/v8-users/5c6a92d3-3d7c-4101-84b3-387de584058f%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/10fc3bff-e340-458c-8235-b73de897b3cf%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/10fc3bff-e340-458c-8235-b73de897b3cf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CACswSC0R%3DuAYauZ2-ZFiYSG%2BfEGM-QsbYVc6MhWNe624%2BpJRqw%40mail.gmail.com.