ANNOUNCE: KDevelop 1.1final released

jbb jbb at ihug.co.nz
Mon Feb 28 07:14:17 GMT 2000


On Mon, 28 Feb 2000, you wrote:
> 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.

or any variations thereof. The only way I've found so far is to look at
dissembled code then add *(int*)0x"address of bar" to the watch. There must be
a simpler way...

>From scanning the gdb mailing list, Daniel Berlin writes (on a related problem)
"Assuming mangling and everything is working fine, namespaces should have no
problem.
If they do, i'll make them have no problems.
:)"

Hi Daniel :-)
how should/does this work?

> 3. Debugger lack to show data references values but show only it address.
> There is no problem by manual adding. Showing address of reference type data
> before value is not so good because there is a screen space problem.
Not sure I understand. Can you give example code, what is displayed, and the
way you'd prefer to see it.

> 4. Debugger If I add pointer data in the watch I have no  way to see any
> pointed data by mouse clicking. In case ADB* ptr; I have to add only ptr[0]
> or  *ptr.
Looks like a bug. You'll have to use your suggested workaround in the meantime.

-- 
Regards,

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




More information about the KDevelop mailing list