This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Steps to reproduce: - create simple application using the following source: int main(int argc, char**argv) { union{ int value; unsigned char ch[4]; }; value = 0xabcdef01; int val = 0; for(int i=0; i<4; i++){ val = ch[i]; } return 0; } - start debugging - open Variables Result: Neither 'value' nor 'ch' are displayed in Variables. Watches give <text variable, no debug info> and <data variable, no debug info> correspondingly.
it looks like this bug is platform dependent, on OpenSolaris I'm having the same behavior with gdb 6.6, 6.8 and 7.0 - value is NOT shown
It's reproducible on Windows and Solaris with gdb 6.8. It works correctly only on Linux.
Unnamed union members are not visible from console gdb also, not the IDE issue. Still need to do something with "no debug info" in variable type and value.
On elif some test is marked as "Known Failure"