* Objective-C and gdb-ui
@ 2007-10-18 12:36 Yakov Zaytsev
2007-10-19 4:36 ` Nick Roberts
0 siblings, 1 reply; 2+ messages in thread
From: Yakov Zaytsev @ 2007-10-18 12:36 UTC (permalink / raw)
To: help-gnu-emacs
I wonder if anybody programming in ObjC already have support
for the following things in
*locals of * window
- Print of NSString as string of chars instead of address only
- Pretty print of collections, e.g. I want to be able to query
collection size, specific elems and edit memory of the elements
(basically NSValue) from the *locals * window..
If none has it, then I'll start hacking gdb-ui.el by myself..
Just want prevent myself from doing monkey job
--
Happy hacking,
Y
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Objective-C and gdb-ui
2007-10-18 12:36 Objective-C and gdb-ui Yakov Zaytsev
@ 2007-10-19 4:36 ` Nick Roberts
0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2007-10-19 4:36 UTC (permalink / raw)
To: Yakov Zaytsev; +Cc: help-gnu-emacs
> I wonder if anybody programming in ObjC already have support
> for the following things in
> *locals of * window
> - Print of NSString as string of chars instead of address only
> - Pretty print of collections, e.g. I want to be able to query
> collection size, specific elems and edit memory of the elements
> (basically NSValue) from the *locals * window..
I've never programmed in ObjC. I see that GDB can be used to debug
Objective-C (assuming this is the same language). I don't know how
data structures are printed but Emacs currently displays them in the
speedbar. It uses a feature of GDB called "variable objects". These are
described in the GDB info manual under the node GDB/MI. The relevant file
for this in GDB is varobj.c, but inspection of this file shows that unlike
C++ and Java, Objective-C isn't treated specially but as for C.
> If none has it, then I'll start hacking gdb-ui.el by myself..
That would be great but you might need to make changes to GDB too. Also
eventually I would like to display watch expressions using tree-widget.el
rather than the speedbar as the icons are more suitable and the timer functions
of the speedbar aren't needed/wanted by gdb-ui.el
> Just want prevent myself from doing monkey job
Please post to emacs-devel@gnu.org when you need help.
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-19 4:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-18 12:36 Objective-C and gdb-ui Yakov Zaytsev
2007-10-19 4:36 ` Nick Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).