debug error viewing linked structs [message #156157] |
Thu, 13 October 2005 17:21 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.03617 seconds