To debug chromium using gdb (LinuxDebugging) one can use
chromium --renderer-cmd-prefix="gdb --args"
and
chromium --plugin-launcher="gdb --args"
Chromium then launches debugger with “gdb –args” and pass command line specifying how to launch that process. Then I can use gdb from command line as normally.
How can I achieve the same scenario in Eclipse?
By using non-stop mode I can debug chrome as usual. But since renderer and plugins are running out of process, I can’t track them.
The only solution I’ve found is “attach to process” approach.
Update: seems like Eclipse Indigo (gdb 7.2) supports multiprocess debugging.
Didn’t try it yet.