Re: how to use ghci-debugger with packages

2008-02-26 Thread Simon Marlow
Frederik Eaton wrote: P.S. Here are some suggestions for the GHCi debugger documentation: http://www.haskell.org/ghc/dist/current/docs/users_guide/ghci-debugger.html "There is one major restriction: breakpoints and single-stepping are only available in interpreted modules; compiled code is in

Re: how to use ghci-debugger with packages

2008-02-25 Thread Frederik Eaton
On Mon, Feb 25, 2008 at 11:14:08AM +, Simon Marlow wrote: > Frederik Eaton wrote: > > >Thanks, I may try that. I'm currently trying to get my GNU-make-based > >build to install profiling versions of package modules, in the hope > >that -xc might give more useful information than it did a year

Re: how to use ghci-debugger with packages

2008-02-25 Thread Simon Marlow
Frederik Eaton wrote: Thanks, I may try that. I'm currently trying to get my GNU-make-based build to install profiling versions of package modules, in the hope that -xc might give more useful information than it did a year ago... I would think the chances of that are fairly low, there haven't

Re: how to use ghci-debugger with packages

2008-02-23 Thread Frederik Eaton
On Sun, Feb 24, 2008 at 02:36:08AM +0100, Daniel Fischer wrote: > Am Sonntag, 24. Februar 2008 02:18 schrieb Frederik Eaton: > > Hello, > > > > I have a program which uses some code in a package, and I would like > > to be able to find out the source of an error which is occuring inside > > that pa

Re: how to use ghci-debugger with packages

2008-02-23 Thread Daniel Fischer
Am Sonntag, 24. Februar 2008 02:18 schrieb Frederik Eaton: > Hello, > > I have a program which uses some code in a package, and I would like > to be able to find out the source of an error which is occuring inside > that package. Can I use the ghci-debugger to do this? If I try to set > a breakpoin

how to use ghci-debugger with packages

2008-02-23 Thread Frederik Eaton
Hello, I have a program which uses some code in a package, and I would like to be able to find out the source of an error which is occuring inside that package. Can I use the ghci-debugger to do this? If I try to set a breakpoint inside the package, it says: "cannot set breakpoint on Vector.Spars