25 Sep
2013
25 Sep
'13
10:01 p.m.
Hi,
I'm trying to set a breakpoint in the function cssReader::parseFile() using gdb.
I've tried several's ways to do that in gdb, including:
"break cssReader::parseFile"
For me this works perfectly:
markus@...3046...:~/Inkscape/cppify_build$ gdb src/inkscape GNU gdb (GDB) 7.5-ubuntu [...] Reading symbols from
/home/markus/Inkscape/cppify_build/src/inkscape...done.
(gdb) b dyna-draw-context.cpp:963 Breakpoint 1 at 0x4bd7e4: file ../../cppify/src/dyna-draw-context.cpp,
line 963.
(gdb) b SPRect::write Breakpoint 2 at 0x5d9a50: file ../../cppify/src/sp-rect.cpp, line 138. (gdb)
Does your inkscape executable contain debug symbols?
Regards, Markus