unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problems with new GDB toolbar
@ 2002-11-17 22:48 Kim F. Storm
  2002-11-17 22:50 ` Miles Bader
  2002-11-18  1:15 ` Nick Roberts
  0 siblings, 2 replies; 12+ messages in thread
From: Kim F. Storm @ 2002-11-17 22:48 UTC (permalink / raw
  Cc: emacs-devel


Hi Nick,

The new GDB toolbar is awesome -- IMO, it's the first real
"killer app" which shows that a toolbar really can be useful!

However, I find some of the new icon a bit confusing, and I
notices some minor problems with it.

After first starting gdb, the first icon I clicked on
(to get things going) was the [Go] icon.  It resulted in
a the following error:

  gud-format-command: Wrong type argument: stringp, nil


Well, I started the program with the [Run] icon, and now wanted to
install a breakpoint in the code... so I clicked on the [Stop] icon.

It didn't work, so I did C-c C-z to stop the program...

I used C-c C-b to set the breakpoint, and then clicked on [Go]
to continue exection...  and it removed the breakpoint.

Ok, now a small bell rang, and I took the time to look at the tooltips;
[Stop] means "Set Breakpoint" and [Go] means "Clear breakpoint"...  

IMO, the [Stop] button should send a stop signal to the process, and
the [Go] button should do the equivalent of "continue". 

And then you should add new buttons for Set and Clear breakpoint;
I would recommend a "red bullet" (with no text) to set a breakpoint,
and the same "red bullet" with an "X" over it to clear the breakpoint.

Also, most of the icons (except [Run]) should be "shaded" when the
program isn't running.  Also, the [Run] tooltip should be changed to
"Restart program" when the program is running.

Finally, when the gud buffer exists, the GDB toolbar seems to be used
as the default toolbar for modes which uses the default toolbar.
That's pretty annoying.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-11-20 21:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-17 22:48 Problems with new GDB toolbar Kim F. Storm
2002-11-17 22:50 ` Miles Bader
2002-11-18  1:15 ` Nick Roberts
2002-11-18  2:17   ` Alan Shutko
2002-11-18 18:53     ` Nick Roberts
2002-11-19  2:15       ` Alan Shutko
2002-11-19 18:58         ` Nick Roberts
2002-11-20 21:12         ` Richard Stallman
2002-11-18 19:34     ` Kim F. Storm
2002-11-18 18:57       ` Alan Shutko
2002-11-18 20:10         ` Kim F. Storm
2002-11-19  1:24       ` Miles Bader

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).