Version 3 (modified by benl, 4 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/01-Sanity/00-Hello/Main.ds -dump-core
    $ cat test/01-Sanity/00-Hello/Main.dump-core-source.dc
    

You can get a list of available dumps with:

bin/ddc -help dump