Bug 112708 - Error viewing linked structs
Summary: Error viewing linked structs
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-14 16:50 EDT by Nobody - feel free to take it CLA
Modified: 2020-09-04 15:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody - feel free to take it CLA 2005-10-14 16:50:14 EDT
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.