On 25-9-2013 23:49, Guiu Rocafort wrote:
Hi list !
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"
then I read this ( http://stackoverflow.com/questions/6892395/set-breakpoint-for-class-member-f... ) and tried:
"break org::w3c::dom::css::parseFile"
I also attempted to use the "file:line" method trying:
"break cssreader.cpp:1591" "break dom/cssreader.cpp:1591"
In the gdb documentation I was not able to find anything related to debugging class methods in C++. I didn't find any useful info in the inkscape debugging wiki page.
So anyone can point me the right way to do this ? Thank you.
This may be completely wrong, but I remember vaguely that you have to put the method name between "", like:
break "cssReader::parseFile"
Use <TAB> ! Hope that helps, Johan