GHC/LLDB integration

William Knop william.knop.nospam at gmail.com
Fri Apr 22 00:33:00 CEST 2011


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 <marlowsd at 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
>



More information about the Glasgow-haskell-users mailing list