## Include debugging symbols
When compiling the compiler, append the `--enable-debug` flag to `./autogen.sh` like this:
`./autogen.sh --enable-debug`.
An alternative method would be to use the `--enable-coverage` flag instead.
This also enables line numbers when generating stacktraces with gdb.
# Enable backtraces for debugging
You can also enable backtraces when debugging with gdb like this:
`G_DEBUG=fatal-criticals gdb --args my_valac_version my_test_program.vala`
When a CRITICAL occus, you'll be able to use `bt` or `bt full` in gdb to retreive a backtrace.
Description
Here's some initial info to add:
Possible Solutions
No response
Additional Info
No response