From HaskellWiki
< WxHaskell‎ | Development
Revision as of 11:28, 28 January 2016 by Henk-Jan van Tuyl (talk | contribs) (Windows: Added subsection "Exception code 0xC000007B")

Jump to: navigation, search

This article is a stub. You can help by expanding it.

Some tips on debugging



When your wxHaskell program crashes, look in the application audit log for an error message and make a note of the exception code. Look at Microsoft's NTSTATUS values page, or use a search engine to find an explanation for this code.

Exception code 0x40010006

This code indicates that a debug message is written, probably by wxWidgets. Run your wxHaskell program in the GNU debugger to see the debug message(s).

Exception code 0xC0000005

Access violation, also called General Protection Fault. May indicate an API incompatibility.

Exception code 0xC000007B

If you get an exception code 0xC000007B immediately after starting your wxHaskell program, there is a mismatch between the bitness of your program and the bitness of the wxWidgets DLLs. Note, that the package wxc checks the bitness at installation time, but things can go wrong afterwards, like changing the search path to point to a different version of the wxWidgets DLLs.