[Haskell-cafe] Debugging STM

John Ky newhoggy at gmail.com
Thu Jan 8 05:26:55 EST 2009


Hi,

Does anyone have any advice on how to inspect complex TVar data structures
that may include cycles?  They're opaque as far as Show goes.  And sometimes
I'd like a more comprehensive view of my data structures at the ghci prompt
rather than the dribs and drabs I get by typing "x <- atomically $ readTVar
var" and the like all the time.  Also, do TVars have a printable identity
for debugging purposes?

Thanks

-John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090108/1e7e14a4/attachment.htm


More information about the Haskell-Cafe mailing list