hi;

I strongly encourage you to take this question on the Vala mailing list
and/or IRC channel: this has nothing to do with Clutter application
development.

On 2011-12-14 at 18:49, Brian Duffy wrote:
> New to Vala/Clutter/Linux programming.
> 
> I included "public bool test = get_debug_enabled();" in my
> clutter-demo.vala program and printed it out to the console. I notice it
> returns false. Would this explain why I can't evaluate expressions like
> r.width (where r is a Clutter Rectangle) while debugging with gdb?

no, it doesn't have anything to do with debugging with GDB; the
debug_enabled flag is set only when compiling Clutter with debugging
notes support, and when running with the CLUTTER_DEBUG environment
variable — see the API reference documentation:

  http://developer.gnome.org/clutter/stable/building-clutter.html

and:

  http://developer.gnome.org/clutter/stable/running-clutter.html

in reality, this flag is pointless, and the function has been deprecated
in master because it's useless.

> Are there binaries distributed with debug enabled or do I have to install
> from source and enable debugging in the build process? If I have to install
> from source does that mean that I have to remove all of the extensions to
> clutter like clutter-gtk, clutter-gst and install them as source as well?

if you installed Clutter using your distribution packages, you will also
want to install the debuginfo packages relative to Clutter and its
dependencies, if you want to use GDB. this is generally required by any
package — it's not something Clutter-related.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
Intel Open Source Technology Center
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to