denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Debug has become difficult


From: Jeremiah Benham
Subject: Re: [Denemo-devel] Debug has become difficult
Date: Sun, 17 May 2009 09:39:46 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, May 17, 2009 at 12:42:11PM +0100, Richard Shann wrote:
> It seems that debugging has just got a whole lot more difficult on my
> Lenny installation. Curiously, gdb was no longer on the machine after
> the upgrade & I had to download the package. And trying to use it to set
> breakpoints and inspect the program is failing - I was blaming this on
> JACK but occurs with the non jack build. gdb is complaining that  the
> program is not writable (someone else is running ptrace?).
> Jeremiah - can you use gdb on denemo - e.g. break on scorearea_keypress
> event and inspect variables?

yes. Do you want me to run a command and send the output to you. I just broke 
at scorearea_keypress_event.

(gdb) p *widget
$9 = {object = {parent_instance = {g_type_instance = {g_class = 0x92940c8}, 
ref_count = 5, qdata = 0x9197200}, 
    flags = 2170816}, private_flags = 3584, state = 0 '\0', saved_state = 0 
'\0', name = 0x0, style = 0x9295808, 
  requisition = {width = 0, height = 0}, allocation = {x = 2, y = 129, width = 
1049, height = 527}, window = 0x92abe60, 
  parent = 0x918c728}
(gdb) p *event
$8 = {type = GDK_KEY_PRESS, window = 0x8fb7188, send_event = 0 '\0', time = 
52511768, state = 0, keyval = 99, length = 1, 
  string = 0x9280e68 "c", hardware_keycode = 54, group = 0 '\0', is_modifier = 
0}

> Which version do you have?
> I get
> gdb --version
> GNU gdb 6.8-debian

This is the same version I have. 

Jeremiah

> 
> Richard
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]