Missing Debug Info



Hi,

First of all, I'm new to Vala/Clutter and Nemiver. I'm posting here because I'm having a debugging problem but that does not mean it is Nemiver's fault. Still, I get no response from Clutter or Vala mailing lists so I'm hoping someone uses Nemiver to debug vala/clutter programs. Specifically, I am trying to play with the Vala clutter-demo example from their website. The example runs fine when I execute it. I am compiling it with valac -g --pkg clutter-1.0 --save-temps. I notice when I load the executable in Nemiver and set a break point that I can read variables defined in the Vala language such as loop counter iterators with success. The problem  I am having is that reading the properties of clutter objects in the debugger is not working as I had hoped. For instance if a Rectangle r is defined then it shows up in the context window as r and its type is defined as ClutterRectangle * and it has an hexadecimal value. I can't expand on the variable and if I highlight r.width in the code and try to inspect the variable then I get nothing in return. Also the context window has quite a few _tmp_ variables that I don't understand at all. I'm wondering if I can get to the properties of objects I instantiate from an external package like Clutter.

I have the CLUTTER_DEBUG environment variable set when I open up the executable for debugging and I am getting some debugging info in the Nemiver target terminal tab from Clutter. 

Is this as good as it gets for debugging Vala programs or am I doing something horribly wrong? Any thoughts would be welcome. 

Thanks

Brian
--
Duff


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