12 Dec
2006
12 Dec
'06
5:33 p.m.
Krasimir Angelov wrote:
This usually happens when there is an uncaught Haskell exception. In this case the RTS shows it in a message box. The problem is that with threaded RTS the running thread might be different from the main thread and in this case you can't see the message. Instead you have to use the Spy++ tool distributed with Visual Studio. Look for a message box with title "vs_haskell.dll" and see the message inside it.
So it isn't possible to call MessageBox() from an arbitrary thread? Should we be doing something in the RTS to work around this? Cheers, Simon