Changes between Version 15 and Version 16 of Attic/BeginnersNotes


Ignore:
Timestamp:
May 24, 2006 5:19:34 PM (9 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Attic/BeginnersNotes

    v15 v16  
    3535== Debugging the compiler ==
    3636
    37  1. Make good use of `ASSERT ( !booleanCondition )`, or better yet, `ASSERT2 ( !booleanCondition, msg )`
     37 1. Make good use of `ASSERT ( booleanCondition )`, or better yet, `ASSERT2 ( booleanCondition, msg )`
    3838 1. You can add typecheking status messages with `!traceTc sDoc`
    3939 1. Read about the [http://www.haskell.org/ghc/docs/latest/html/users_guide/options-debugging.html GHC Debugging Options]; the following debugging options are particularly useful:
    40    * -ddump-tc-trace : shows the typechecking status messages inserted by `!traceTc`
     40   * -ddump-tc-trace : shows the typechecking status messages inserted by `traceTc`
    4141   * -ddump-simpl : shows the Core code after simplification
    4242   * -dppr-debug : makes the debugging dumps more noisy (and useful); among other things, shows kinds for type variables