Changes between Version 1 and Version 2 of Debugging/CompiledCode


Ignore:
Timestamp:
Aug 27, 2009 10:55:43 AM (6 years ago)
Author:
simonmar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/CompiledCode

    v1 v2  
    3838Usually you want to do something along these lines:
    3939
    40  * Look at the advice on the [wiki:Building/DebuggingGHC Debugging GHC page].
    41 
    4240 * Compile with {{{-dcore-lint}}} to make sure the crash isn't caused by the compiler
    4341   generating incorrect code in a way that can be detected statically.
     
    4947 * Don't compile with {{{-threaded}}} (assuming the bug still happens
    5048   with the non-threaded runtime).
     49
     50 * Use runtime debugging options to help narrow down the fault (see also the [http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.html#rts-options-debugging  relevant User Manual section]).
    5151
    5252 * Grab our [attachment:".gdbinit" gdb macros].