Hi everyone,

Thanks to Pierre's sponsorship and advice, the Free Pascal Compiler now contains the feature that allows you to dump the intermediate nodes generated by the compiler.  When enabled with "-dDEBUG_NODE_XML" in the compiler's source code, all units will have a "NAME-node-dump.xml" file generated alongside the compiled source.

This feature is designed to aid with debugging the compiler when introducing new features, but might prove useful in fixing existing bugs, like with https://bugs.freepascal.org/view.php?id=32913 that's been on my books for months now.

The node dumping is still a work in progress - for example, it doesn't yet dump definitions for global constants - so any extensions would be greatly appreciated.

Thank you so much Pierre for your assistance and support in this feature, and I hope it proves useful to everyone.

Gareth aka. Kit


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to