Changes between Version 3 and Version 4 of Development/Debugging


Ignore:
Timestamp:
Dec 5, 2012, 12:35:22 PM (7 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Debugging

    v3 v4  
    33== Debugging ==
    44
    5  * Compile with {{{-v}}} to see what compiler stages are being executed.
    6 
    7  * You can get a dump of various intermediate representations using the {{{-dump*}}} options. For example:
     5You can get a dump of various intermediate representations using the `-dump` option. For example:
    86{{{
    9 $ bin/ddc -c test/01-Sanity/00-Hello/Main.ds -dump-core
    10 $ cat test/01-Sanity/00-Hello/Main.dump-core-source.dc
     7$ bin/ddc -make test/ddc-main/60-Lite/99-Defib/03-Reverse/Main.dcl -O -dump
     8$ cat test/ddc-main/60-Lite/99-Defib/03-Reverse/Main.lite-opt.dcl
    119}}}
    1210
    13  You can get a list of available dumps with:
    14  {{{
    15 bin/ddc -help dump
    16  }}}
    17 [[br]]