GNOME Bugzilla – Bug 635095
#line directives are not created when using -g param to valac
Last modified: 2011-07-19 07:52:22 UTC
I run into this with valac 0.11.0-0.11.2 (haven't tried older versions). Summary pretty much covers it really, when I try to compile my program with --save-temps -g then gdb still only gives C line numbers, no vala line numbers. I checked the C files and they don't contain any #line. I also ran "grep -i "#line" wiab" (wiab being my binary) and no hits.
Oh and the bug has been confirmed by two people in IRC
I've bisected it and it seems it was this gigantic commit: 7a429688cdf0fd16cc1503a7666681792e309da8 codegen: Use builder API
*** Bug 639811 has been marked as a duplicate of this bug. ***
I see this too, and so as of 0.11.7 when I'm stepping through my Vala program in GDB I'm looking at C, not Vala! Sure would be nice to have this fixed for 0.12.
Any update on this?
commit e632b60f6771117308d396739e558c2b2643c33c Author: Luca Bruno <lucabru@src.gnome.org> Date: Tue Jul 19 00:13:13 2011 +0200 codegen: Add push_line and pop_line for writing line directives Fixes bug 635095. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.