Re: [dongen@cs.ucc.ie: Re: Debugging techniques]

2000-04-08 Thread 'Marc van Dongen'
Simon Peyton Jones ([EMAIL PROTECTED]) wrote: : | This is really a big problem. I have been strugling with it : | myself. The safest thing to do is to use `error' (sad but : | true). That's the only thing I can recommend:-( : : This is a long-standing and embarassing bug which is : alas not quic

RE: [dongen@cs.ucc.ie: Re: Debugging techniques]

2000-04-07 Thread Simon Peyton-Jones
| This is really a big problem. I have been strugling with it | myself. The safest thing to do is to use `error' (sad but | true). That's the only thing I can recommend:-( This is a long-standing and embarassing bug which is alas not quick to fix. But have now been embarassed fo often that we (a

[dongen@cs.ucc.ie: Re: Debugging techniques]

2000-04-07 Thread Marc van Dongen
Sorry about this. I forgot to group reply. - Forwarded message from Marc van Dongen <[EMAIL PROTECTED]> - Date: Fri, 7 Apr 2000 09:55:12 +0100 From: Marc van Dongen <[EMAIL PROTECTED]> To: "Michael A. Jones" <[EMAIL PROTECTED]> Subject: Re: Debugging techniq

RE: Debugging techniques

2000-04-06 Thread Sigbjorn Finne
Title: RE: Debugging techniques In Main.main, change it from     main = whatever   to    main = stderr `seq` whatever   (you may have to import IO to bring stderr into scope.)   --sigbjorn -Original Message-From: Michael A. Jones [mailto:[EMAIL PROTECTED]]Sent: Thursday, April

RE: Debugging techniques

2000-04-06 Thread Michael A. Jones
Title: RE: Debugging techniques Well, I tried the trace function as was recommended, linking in IOExts and all, but I get the following error when I run the application: main: fatal error: No threads to run!: Deadlock? The statement where it is used is: datalogQueryHistogramResult

Re: Debugging techniques

2000-04-06 Thread Marcin 'Qrczak' Kowalczyk
execution > never reached the let. Well, laziness is exactly about this, and unfotunately it makes conventional debugging techniques inappropriate. Haskell's laziness includes the rule that mere evaluation of an expression cannot cause any visible side effects other than nontermination.

Debugging techniques

2000-04-06 Thread Michael A. Jones
Title: Debugging techniques Hi, I have a question on debugging, but first I must say that I am a bit of a newbie. I have ML experience, but Haskell is a bit new to me. Second, perhaps you can suggest a place I can ask newbie questions that is more appropriate than this list. Are there any