On 13.04.2013 00:02, foru...@smartmobili.com wrote:
While I am at it, I would like to understand some parts of Gorm and to
debug it so I tried this :
$ gdb /usr/local/bin/Gorm
Reading symbols from /usr/local/bin/Gorm...done.
(gdb) b loadFileWrapper:
No source file named loadFileWrapper.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (loadFileWrapper:) pending.
(gdb) r
Starting program: /usr/local/bin/Gorm
[Thread debugging using libthread_db enabled]
But it doesn't stop inside loadFileWrapper, how can I debug ?
I have compiled Gorm by passing make debug=yes so I suppose debugging
symbols are still there...
What do you use to debug with gdb, the terminal or a specific graphical
application ?
You probably wanted something like
b [GormDocument loadFileWrapperRepresentation:ofType:]
or
b [GormWrapperLoader loadFileWrapper:withDocument:]
The name of a method consists of all parts that belong to it.
Hope this helps,
Fred
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev