[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: ANNOUNCE: KDevelop 1.1final released
From:       jbb <jbb () ihug ! co ! nz>
Date:       2000-02-28 20:05:21
[Download RAW message or body]

On Tue, 29 Feb 2000, you wrote:
> >>>>> "jbb" ==   <jbb@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic