Excellent, those suggestions are along the lines I was thinking.
Thanks for the pointer (no pun intended) re. the C functions in the
RTS; I hadn't known of those.

Will

On Wed, Apr 20, 2011 at 6:22 AM, Simon Marlow <marlo...@gmail.com> wrote:
> Sounds interesting, though I know nothing about LLDB.  It would be nice to
> have a little help from the debugger for things like:
>
>  - displaying the stack in a nicer way
>  - displaying heap objects
>  - searching the heap
>  - displaying runtime state: what threads exist and what state
>   they're in, summary of various RTS data structures, etc.
>
> For some of these I have C functions in the RTS that I can call from gdb.
>  e.g. there's findPtr() that searches the heap for occurrences of a
> particular pointer (useful for debugging leaks when the higher level tools
> don't give you enough information).
>
> Cheers,
>        Simon
>

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

Reply via email to