[darcs-devel] darcs patch: Libwww new API: waitUrl, copyUrlFirst added; copyUrls ...

Simon Marlow simonmarhaskell at gmail.com
Wed Jan 23 14:44:59 UTC 2008


David Roundy wrote:
> On Wed, Jan 23, 2008 at 01:31:30PM +0000, Simon Marlow wrote:
>> David Roundy wrote:
>>> On Mon, Jan 21, 2008 at 08:03:22PM +0300, Dmitry Kurochkin wrote:
>>>> I will try to reproduce and fix it.  BTW How can i build darcs with
>>>> debug symbols?
>>> I don't know.  :( I see that ghc has a -debug option, but am unsure what it
>>> does.
>> It links the program with a debug version of the runtime, which adds 
>> assertions and other sanity-checking, some debug output options (+RTS 
>> -D<blah>) and also has debug symbols.
> 
> Ah good, that does sound like it could be a real help (particularly the
> debug symbols).  Perhaps we should add a --enable-debug option to our
> configure script, and maybe even make that the default for prerelease
> builds?

-debug slows things down: GC by as much as a factor of 2, and other things 
to a lesser extent.  Apart from that there should be no downsides.

Cheers,
	Simon



More information about the darcs-devel mailing list