public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Andrew Cagney <cagney@redhat.com>
Cc: Phil Muldoon <pmuldoon@redhat.com>, frysk@sourceware.org
Subject: Re: fhpd vs RuntimeExceptions
Date: Mon, 26 Nov 2007 10:18:00 -0000	[thread overview]
Message-ID: <1196072321.3088.11.camel@dijkstra.wildebeest.org> (raw)
In-Reply-To: <473DA9B0.10901@redhat.com>

Hi Andrew,

On Fri, 2007-11-16 at 09:31 -0500, Andrew Cagney wrote:
> True, it gets rid of the immediate problem.  More importantly it lets us 
> walk away from this bike shed and focus on more critical - a corrupt 
> variable or wrong back-trace is far more serious than the exact text of 
> an error message.  Just like how the dog hears in the farside cartoon 
> <<Rover, blah blah blah ...>>, we've ensured that the user at least sees 
> "Error: ".  As our user base expands we can refine this.

The immediate problem is not nice error messages (which would be
somewhat of a bikeshed that I wouldn't even try to get incolved with
seeing I am not even a native speaker). The problem is how we and our
users can help each other pinpointing bugs in our code. For example I
had to debug a monitor lock issue last Friday. The current setup doesn't
show me any stacktraces to help me so it is hard to see where this came
from. Hiding information from the current users (us!) is not the right
default imho. If unexpected exceptions happen the default should be to
show all information to help our users and developers to get at the root
cause.

> > That seems fine. I recommend you also just rip out the whole Message
> > queuing structure and handle that in the same way with a simple
> > printMessage(). Having two different mechanisms for creating user
> > feedback in the CLI is probably confusing.
> >   
> Of course; however the cli code base is still in rehab from me 
> refactoring N ways of implementing a command down to one.
> Can you create a bug?

Here you go: http://sourceware.org/bugzilla/show_bug.cgi?id=5402

Cheers,

Mark

      reply	other threads:[~2007-11-26 10:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-14 14:27 Mark Wielaard
2007-11-14 14:45 ` Andrew Cagney
2007-11-14 15:27   ` Kris Van Hees
2007-11-14 15:36   ` Mark Wielaard
2007-11-14 17:33     ` Andrew Cagney
2007-11-14 19:11       ` Mark Wielaard
2007-11-15 17:01 ` Phil Muldoon
2007-11-15 17:42   ` Mark Wielaard
2007-11-15 18:19     ` Phil Muldoon
2007-11-15 18:25       ` Sami Wagiaalla
2007-11-16 11:21       ` Mark Wielaard
2007-11-15 18:21     ` Sami Wagiaalla
2007-11-15 20:33       ` Kris Van Hees
2007-11-16 10:12       ` Mark Wielaard
2007-11-15 18:46     ` Andrew Cagney
2007-11-16 10:15       ` Mark Wielaard
2007-11-15 20:41     ` Kris Van Hees
2007-11-15 22:11       ` Phil Muldoon
2007-11-15 23:09         ` Kris Van Hees
2007-11-16 10:42       ` Mark Wielaard
2007-11-15 18:04   ` Mark Wielaard
2007-11-15 18:22     ` Phil Muldoon
2007-11-15 19:06     ` Andrew Cagney
2007-11-16 10:28       ` Mark Wielaard
2007-11-16 14:32         ` Andrew Cagney
2007-11-26 10:18           ` Mark Wielaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1196072321.3088.11.camel@dijkstra.wildebeest.org \
    --to=mark@klomp.org \
    --cc=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=pmuldoon@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).