Re: [Vala] How to debug vala program?



Jürg Billeter wrote:
On Wed, 2009-09-30 at 08:25 +0000, John - wrote:
I try to debug Vala program with Nemiver :
http://projects.gnome.org/nemiver , that It recomends in Debugging
chapter from http://live.gnome.org/Vala/Tutorial

But It give me this message : "Could not find file test.vala.c" when I
try to see what happens in clicked button signal.

Build your application with valac -g, that way you get debug information
for the .vala source files instead of the generated C files.

Jürg

The problem is that Nemiver still asks for the temporary C files at some
points when stepping through the code, even if the program was compiled
with '-g'.

That's why one must use '-g --save-temps' at the moment. I have no idea why
Nemiver still needs the C files.


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]