John, You are talking to a Windows programmer, so maybe things might be evident for you and less for me. The reverse could be also true.
John Denker a écrit : > On 04/27/2008 06:27 AM, Frederic Bouvier wrote: > > >> Well, the important part of my sentense is "generating a meaningful >> error report". >> > > Meaningful to whom? > -- If you mean to the end-user, then I'm totally confused. > Please clarify what you want, and why. > -- If you mean to developers, then the sort of reports > that gdb can generate would seem just fine. If this > is a problem, please explain. > I mean "meaningful for the development/support team". Something more meaningful than "fgfs sucks because it crash" ;-) so [2] is assumed, yes. >> It looks like Linux users are more likely able to compile >> from sources and start the debugger themselves. [1] >> > > Some are, some aren't. > >> But for users that only >> install binary package, for the moment we have no clue about segfault >> and unexpected failures that may happen for various reasons. [2] >> > > So, I gather that the point you want to emphasize is not statement [1] > but rather statement [2]. The goal is to handle the case of linux > users who are *not* adept at debugging. If not, please explain. > > The only halfway-tricky thing about integrating gdb is to use dup2() > a few times so that fgrun can communicate to/from gdb without getting > tangled up with fgfs tty input/output. There's no reason why the > naive user needs to see the debugging info, so long as there's a > way to capture it and send it to the reporting center. > absolutely. >> If we can >> provide a way to collect useful post-mortem debugging info, we will be >> able to fix those failure more easily. >> > > So tell me, why is having fgrun automagically invoke gdb not a > satisfactory way "to collect useful post-mortem debugging info". > What features do you want that it doesn't have I don't have any problem with practical solution ;-) If someone can contribute something, no problem. -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel