Mail Archives: cygwin/2005/01/21/11:55:14
On Fri, 21 Jan 2005, Christopher Faylor wrote:
> On Fri, Jan 21, 2005 at 01:15:53PM +0100, Corinna Vinschen wrote:
> >On Jan 21 11:18, Hughes, Bill wrote:
> >>I don't think I'm putting this very well, but it may make the FAQ
> >>easier if the standard advice is to load the snaphot and use that for
> >>debugging, it removes a separate layer of potential problems in
> >>building the dll. I suspect the people who would want a stripped
> >>snapshot to be more capable of producing it than those would may need
> >>to build one with debug info.
> >
> >IMHO you're looking from the wrong direction. People capable of
> >debugging the Cygwin DLL are usually also capable of building it. I'm
> >wondering how somebody should be able to debug an application at all,
> >if this person stumbles over using the compiler tools.
>
> cgf, waves and points.
> See, Corinna is being mean here! It's not just me!
> (although I've made similar observations in the past)
She learned from the best... :-D
> Maybe someone will prove me wrong but it seems likely that this is a
> basically an entry examination. If you can't figure out how to build
> cygwin, then you probably aren't going to provide much in the way of
> useful feedback if you had a debuggable version.
Pierre already submitted an argument against this (the likelihood of the
bug may be reduced in CVS). Here's another argument: it is sometimes
impractical to either replace the existing DLL or replicate the same exact
environment for a debug version. Why not debug exactly what fails?
Besides, since the releases aren't tagged in CVS (yes, that old quibble
again), it's a gamble on whether you're even building the right version...
> I would also submit that, IMO, helping people run a debugger and figure
> things out in the debugger is an order of magnitude more difficult than
> providing basic tech support
Agreed. So we don't teach them to debug, we simply provide them with
debugging symbols.
> The debugger is only marginally more useful when the debugging symbols
> are available anyway. You still need the source code to do anything
> really worthwhile.
Also agreed. But the source provided in the cygwin source package is
worthless for debugging, since one can't build Cygwin from that source.
If debugger symbols were available, that source would actually be useful.
:-)
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -