Difference between revisions of "WxHaskell/Development/Debugging"

From HaskellWiki
Jump to navigation Jump to search
(→‎Crashes: Added link to NTSTATUS values page)
(→‎Windows: Added subsection "Exception code 0xC0000005")
Line 14: Line 14:
   
 
This code indicates that a debug message is written, probably by wxWidgets. Run your wxHaskell program in the [https://www.gnu.org/software/gdb/ GNU debugger] to see the debug message(s).
 
This code indicates that a debug message is written, probably by wxWidgets. Run your wxHaskell program in the [https://www.gnu.org/software/gdb/ GNU debugger] to see the debug message(s).
  +
  +
==== Exception code 0xC0000005 ====
  +
  +
Access violation, also called [https://en.wikipedia.org/wiki/General_protection_fault General Protection Fault]. May indicate an API incompatibility.
   
   

Revision as of 23:36, 13 November 2015

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


Some tips on debugging


Windows

Crashes

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.