Re:C as an intermediate language (2012)
by humanrebar on Saturday January 20, 2018 @07:21AM
(#16193108)
How does Vala handle debugging info and compiler diagnostics? Do the end users have to analyze the emitted C when something goes wrong?
[ Parent
| on HN ]
Re:C as an intermediate language (2012)
by MaxBarraclough on Saturday January 20, 2018 @10:18AM
(#16193614)
Annoyingly Vala is extremely shy about the generated C, but I believe it uses #pragmas to map the generated C back to the Vala source.
I've only dabbled in Vala, but apparently its "-g" flag lets you debug with GDB. https://wiki.gnome.org/Projects/Vala/Tutorial#Debugging