Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
C++
Back End
Debug Info
Front End
Interaction with the IDE
Modeling
MS Compat.
Delphi
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/C++
[ Add a report in this area ]
Report #:
96969
Status:
Need Feedback
Large array debugging broken (compared to CB6)
Project:
C++Builder
Build #:
C++Builder? XE
Version:
15.0
Submitted By:
Simon Quin
Report Type:
Basic functionality failure
Date Reported:
8/1/2011 6:43:58 AM
Severity:
Commonly encountered problem
Last Updated:
8/1/2011 7:09:41 AM
Platform:
All platforms
Internal Tracking #:
Resolution:
Need More Info
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
If you define a large array of chars (100K) as part of a structure you cannot see it or any of the other parts of the structure. CBuilder 6 has no such limitations and when you push the array size to preclude inspection the other parts of the structure are displayed in the inspection window.
Steps to Reproduce:
New project. Then add this:
#define ARRAY_SIZE 10000
typedef struct
{
int JustAnInt;
bool JustABool;
unsigned char TxBuffer[ARRAY_SIZE];
}TestStruct;
static TestStruct MyStruct;
.....then initialise the array:
int Count;
time_t seconds;
time(&seconds);
srand((unsigned int) seconds);
MyStruct.JustAnInt = rand();
MyStruct.JustABool = (bool)rand();
for(Count=0;Count<ARRAY_SIZE;Count++)
{
MyStruct.TxBuffer[Count] = (unsigned char)rand();
}
After initialisation Debug->Inspect the structure. All is visible. Now increase the array size and repeat
#define ARRAY_SIZE 10000
The values are no longer visible. CBuilder 6 does not have this limitation.
XE and CB6 projects to illustrate this are attached.
Workarounds
None so far
Attachment
None
Comments
Tomohiro Takahashi at 8/1/2011 7:08:52 AM
-
Could you please attach sample project to reproduce/verify your issue?
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us