Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Debugger
Breakpoints
Call Stack
Corba DBK
Corba UI
CPU
Debugger UI
Evaluator
C++
Delphi
Pascal
Evaluator ToolTips
Evaluator View
Event Log View
Exceptions
Execution
FPU
Inspector
Interaction with IDE
Kernel
Local Variables View
Module View
Multi-process
Remote Debugging
Stepping
TD32 Keys
Thread View
Watches
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Debugger/Evaluator
[ Add a report in this area ]
Report #:
11874
Status:
Closed
The Evaluate/Modify window and Hint hangs when evaluating a Field of a ClientDataSet using FieldByName method
Project:
Delphi
Build #:
8.1
Version:
7.0
Submitted By:
Sistemas de Informaci?n Empresar User
Report Type:
Basic functionality failure
Date Reported:
4/6/2005 4:39:45 AM
Severity:
Serious / Highly visible problem
Last Updated:
2/9/2006 3:35:56 PM
Platform:
All versions
Internal Tracking #:
Resolution:
Cannot Reproduce
(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 use Dataset.Fields[xxxxx].AsString the correct value gets displayed, but if you try DataSet.FieldByName(FieldName).AsString the Evaluate/Modify windows stops responding.
You can press Ctrl+F2 to End the debugging session.
These symptoms appear after installing d7_ent_upd1_1.exe
Steps to Reproduce:
Create a project that uses a client dataset (in our case we use TClientDataSet, TProvider, TADOQuery, TADOConnection and SQL Server 2000).
Place a breakpoint in a line of code that assings a value to a field of the client dataset.
DataSet.FieldByName('Code').AsString = 'x';
When the debugger stops in the breakpoint, move the mouse cursor over then AsString. The tooltip shows [Evaluating....] but doesn't shows nothing.
If you press Ctrl+F7 and try to evaluate DataSet.Fields[0].AsString, the correct value is shown, but if you try to evaluate DataSet.FieldByName('Code').AsString then window stops responding
In both cases you can stop the debugger with Ctrl+F2
Workarounds
You can modify the source code to store the value in a temp variable, but is a tedious way of debuggiong.
Attachment
None
Comments
None
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