Community
Participate
Working Groups
Build Identifier: 20100617-1415 I have pointer to an object and it is equal zero. In "Variables" view eclipse is trying to read memory at address 0x0 and shows empty object of that class. This is wrong cause in case of data structure such as linked list this happens recursively. Please see screenshot attached. Reproducible: Always Steps to Reproduce: 1. Create object of the class attached 2. Start debug 3. See "Variables" window, open next item
Created attachment 173698 [details] example class to test the problem
Created attachment 173699 [details] Screenshot of the problem
Do you have gdb log? I don't think it is CDT problem...
(In reply to comment #3) > Do you have gdb log? I don't think it is CDT problem... No I don't :(, you can easily reproduce this bug and get all the logs for yourself. I don't insist that this bug is in CDT cause I don't know eclipse structure well, but it is definitely a bug
This happens with both CDI and DSF and, as Elena guessed, seems to be a GDB quirk. I'll attach the traces and one can see that GDB keeps reporting more and more children. It would be interesting to as the gdb mailing list if there is a good reason for this behavior. I used GDB 7.1
Created attachment 173773 [details] CDI traces showing problem
Created attachment 173774 [details] DSF-GDB traces showing problem