Hi,
I followed
first created a ~/.gdbinit as follows -
python
import sys
sys.path.insert(0, "~/Blink/blink-linux/src/third_party/WebKit/Tools/gdb/")
import webkit
sys.path.insert(0, "~/Blink/blink-linux/src/tools/gdb/")
import gdb_chrome
While run gdb, I have -
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
.....
Traceback (most recent call last):
File "<string>", line 5, in <module>
ImportError: No module named gdb_chrome
So I removed the gdb_chrome section in .gdbinit , and run gdb as follows -
gdb --args ./out/Debug/content_shell --single-process ~/Blink/own_scripts/test1.html. I have
Reading symbols from /home/local/SERILOCAL/z.sun/Blink/blink-linux/src/out/Debug/content_shell...done.
(gdb) r
Starting program: /home/local/SERILOCAL/z.sun/Blink/blink-linux/src/out/Debug/content_shell --single-process /home/local/SERILOCAL/z.sun/Blink/own_scripts/test1.html
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
The program just halt in this step doesn't move further - even I left it for overnight.
What have I missed or done wrong? Please advise.
Thanks