Version 2 (modified by benl, 5 years ago)

--

< Main

Debugging

  • Compile with -v to see what compiler stages are being executed.
  • You can get a dump of various intermediate representations using the -dump* options. For example:
    $ bin/ddc -c test/00-Staged/00-Sanity/Main.ds -dump-core
    $ vi test/00-Stages/00-Sanity/Main.dump-core-source.dc
    

You can get a list of available dumps with:

bin/ddc -help dump