debug error viewing linked structs [message #156157] |
Thu, 13 October 2005 17:21 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02769 seconds