Bug #6687 2006-03-06 22:46
ceniza
C Arrays
Debugging an application I found the debugger plugin has non-fatal problems with C arrays.
Yiannis says the plugin has not support for them yet, even though it "tries to".
Something as simple as debugging a program with the following line in it:
bool values[5] = { true, true, false, false, true };
will add to the watches window the variable "values" an will show it like this:
- Local variables
- values
true
false
Well, for not having support it's showing something: two out of five values.
The funny thing is: what is it really showing? values[1] and values[2]?
- Category
- Debugger
- Group
- Status
- Closed
- Close date
- 2006-09-28 12:17
- Assigned to
- mandrav
History
Hmm, on closer inspection it is a bug.
It has to do with an optimization that doesn't allow duplicate items in the same tree level. So, trying to display the five bool values, it only displays the distinct ones: true and false.
I 'll have to rethink about this process.
Thanks for pointing this out.
I think this works now (just tried it). The debugger plugin shows the correct values (all of them). SVN 2803. :)
My bugreport about this(?)bug is here:
This bug is now fixed in HEAD.
Thank you for reporting it.