Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Error with displaying array in the "Watches" window
dk:
Sometimes content of arrays in the "Whatches" windows are wrong: all elements are shifted (i.e. A[1] is displayes on the first place, A[2] on the 2nd, ..., A[0] is displayed last).
Steps to reproduce:
1. Create a simple console application with one c++ file:
--- Code: ---int main()
{
int A[5];
A[0]=1;
return 0;
}
--- End code ---
2. Set breakpoint to the line A[0]=1 and start debugging application.
3. After reaching breakpoint open "Watches" window, A is displayed as {2009315348,4012952,4012888,8,2009312941}:
4. After executing line A[0]=1, A is displayed as
{4012952,4012888,8,2009312941,1}, i.e. all elements of A are shifted to the left:
I am using 20060904 nightly build on windows and older revision on Linux.
mandrav:
https://developer.berlios.de/bugs/?func=detailbug&bug_id=6687&group_id=5358
dk:
"Due to an Operating System Upgrade the Services are unavailable..."
mandrav:
--- Quote from: dkirienko on September 06, 2006, 03:22:26 pm ---"Due to an Operating System Upgrade the Services are unavailable..."
--- End quote ---
Sorry, worked before.
Anyway, this bug exists for some time and is already reported (link I gave you).
dk:
Yes, I've found that bugreport. Do you think this is a same bug? Are there any progress in the fixing this bug?
Today I've recomended C::B for my students as a best open-source IDE for C++ development, and immediately they have found this ugly bug...
Navigation
[0] Message Index
[#] Next page
Go to full version