ANNOUNCE: KDevelop 1.1final released

jbb jbb at ihug.co.nz
Mon Feb 28 20:05:21 GMT 2000


On Tue, 29 Feb 2000, you wrote:
> >>>>> "jbb" ==   <jbb at ihug.co.nz> writes:
> 
>    >> KD1.1 Bug report
> 
>    >> 2. Debugger cannot see non-class data defined in the namespace.
> 
>    | Do you mean
>    | namespace foo {   int bar; };  and you cannot see bar?
>    | I can't get gdb to show that either.
>    | (gdb) print foo::bar
>    | No symbol "foo" in current context.
> 
>    jbb> or any variations thereof. The only way I've found so far is to look
>    jbb> at dissembled code then add *(int*)0x"address of bar" to the
>    jbb> watch. There must be a simpler way...
> 
> 
> There is.
> Single quote it.

Thanks Daniel for  the explaination on how this is working.

For kdevelop, therefore, the solution is to add to the watch variables
'foo::bar'

-- 
Regards,

jbb
http://homepages.ihug.co.nz/~jbb
ICQ: 60412209




More information about the KDevelop mailing list