
Can this be done with Haskell? In particular, I'm using ghc 6.10.1. Can I get symbols for use with gdb, for instance? -- Colin Adams Preston Lancashire

Colin Paul Adams wrote:
Can this be done with Haskell? In particular, I'm using ghc 6.10.1.
Check out the GHC user guide, section 3.5 tells you how to operate GHCi's built-in source-level debugger.
Can I get symbols for use with gdb, for instance?
You *can*... but don't. Unless you want to slowly go mad. ;-)

On 2009 Feb 15, at 15:22, Colin Paul Adams wrote:
Can this be done with Haskell? In particular, I'm using ghc 6.10.1. Can I get symbols for use with gdb, for instance
gdb would be extremely painful; the flow of execution in lazy languages is unusual. ghci from 6.8.1 on has an interactive debugger built in; it's still evolving though. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
participants (3)
-
Andrew Coppin
-
Brandon S. Allbery KF8NH
-
Colin Paul Adams