opensubscriber
   Find in this group all groups
 
Unknown more information…

g : glasgow-haskell-users@haskell.org 14 March 2012 • 6:59PM -0400

Re: profiling and backtracing blues
by Simon Marlow

REPLY TO AUTHOR
 
REPLY TO GROUP




On 13/03/2012 21:25, Ranjit Jhala wrote:
> Hi all,
>
> I'm trying to use the nifty backtracing mechanism in GHC 74.
> AFAICT, this requires everything be built with profiling on),
> but as a consequence, I hit this:
>
> "You can't call hscCompileCoreExpr in a profiled compiler"
>
> Any hints on whether there are work-arounds?

Can you give more details about what you're trying to do?  Are you using
the GHC API in some way?

I'm afraid there's something of a deep limitation in that the
interpreter that is used by GHCi and Template Haskell doesn't work with
profiling:

   http://hackage.haskell.org/trac/ghc/ticket/3360

We think it is quite a lot of work to fix this.

Cheers,
Simon

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@hask...
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.