Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » debug error viewing linked structs
debug error viewing linked structs [message #156157] Thu, 13 October 2005 17:21 Go to next message
Eclipse UserFriend
Originally posted by: frank.morauf.salzbrenner.com

Eclipse Platform 3.1.1 and CDT 3.0.0

This problem appears to org.eclipse.debug.ui_3.1.1.jar and does not happen
in the releases before.

Use this simple example

struct SStrB
{
int A;
};
struct SStrA
{
SStrB* StrB;
};
int main(void)
{
SStrA a;
SStrB b;
a.StrB = &b;
return 0; // place break here
}

Start the debugger and wait until the breakpoint is hit. Then in the
debugger view->variables:
collapse a, now viewing public
collapse public, now viewing StrB
collapse StrB, now viewing public
collapse public!!!!!!

Now an Error Message Box pops up
Title: Replace Children

Workaround:
Use org.eclipse.debug.ui_3.1.0.jar from the previous release.
Re: debug error viewing linked structs [message #156244 is a reply to message #156157] Fri, 14 October 2005 20:53 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

Created a Bugzilla entry -
https://bugs.eclipse.org/bugs/show_bug.cgi?id=112708

"Frank Morauf" <frank.morauf@salzbrenner.com> wrote in message
news:9f1c002b0e791ee71f4efe230217db51$1@www.eclipse.org...
> Eclipse Platform 3.1.1 and CDT 3.0.0
>
> This problem appears to org.eclipse.debug.ui_3.1.1.jar and does not happen
> in the releases before.
>
> Use this simple example
>
> struct SStrB
> {
> int A;
> };
> struct SStrA
> {
> SStrB* StrB;
> };
> int main(void)
> {
> SStrA a;
> SStrB b;
> a.StrB = &b;
> return 0; // place break here
> }
>
> Start the debugger and wait until the breakpoint is hit. Then in the
> debugger view->variables:
> collapse a, now viewing public
> collapse public, now viewing StrB
> collapse StrB, now viewing public
> collapse public!!!!!!
>
> Now an Error Message Box pops up
> Title: Replace Children
>
> Workaround:
> Use org.eclipse.debug.ui_3.1.0.jar from the previous release.
>
Previous Topic:cdt Code Assist and macros
Next Topic:error parser for watcom
Goto Forum:
  


Current Time: Thu Dec 26 21:20:58 GMT 2024

Powered by FUDForum. Page generated in 0.03617 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top