Changes between Version 14 and Version 15 of Attic/BeginnersNotes


Ignore:
Timestamp:
May 24, 2006 5:18:58 PM (8 years ago)
Author:
guest
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Attic/BeginnersNotes

    v14 v15  
    3333(more to come) 
    3434 
     35== Debugging the compiler == 
     36 
     37 1. Make good use of `ASSERT ( !booleanCondition )`, or better yet, `ASSERT2 ( !booleanCondition, msg )` 
     38 1. You can add typecheking status messages with `!traceTc sDoc` 
     39 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` 
     41   * -ddump-simpl : shows the Core code after simplification 
     42   * -dppr-debug : makes the debugging dumps more noisy (and useful); among other things, shows kinds for type variables 
     43  
     44 
    3545== Running the testsuite == 
    3646