Set your breakpoints and what not in gdb, then use signal SIGUSR1 in gdb to resume execution.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
I just use --single-process and run the binary directly within gdb. Does that work for your use case?
Set your breakpoints and what not in gdb, then use signal SIGUSR1 in gdb to resume execution.
--
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
(gdb) b content/renderer/render_thread_impl.cc:1002Breakpoint 1 at 0x7fbbe0273590: file ../../content/renderer/render_thread_impl.cc, line 1002.
--
You should only need the basename; since there is no other render_frame_impl.cc, it should do the right thing.FWIW, I usually don't care about process startup, so I generally start with "out/Debug/chrome --no-sandbox --disable-hang-monitor", grab the renderer PID from the task manager, then use "gdb [pid]", set breakpoints, and continue.As another option, Steve Kobes recently posted another way to debug a renderer (with a script landed in Blink): https://groups.google.com/a/chromium.org/d/msg/blink-dev/XyE1DeqMPpg/Bao3H2_bLi4J