Personal tools

WxHaskell/Development/Debugging

From HaskellWiki

< WxHaskell | Development(Difference between revisions)
Jump to: navigation, 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.
  
  
 
[[Category:wxHaskell]]
 
[[Category:wxHaskell]]

Revision as of 23:36, 13 November 2015

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


Some tips on debugging


Contents

1 Windows

1.1 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.

1.1.1 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).

1.1.2 Exception code 0xC0000005

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