Bug 425659 - An expression with reference to array or structure reports an error
Summary: An expression with reference to array or structure reports an error
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.2   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 08:33 EST by Benoit Perrin CLA
Modified: 2014-02-25 05:50 EST (History)
0 users

See Also:


Attachments
Issue testcase (1.00 KB, text/plain)
2014-01-14 08:33 EST, Benoit Perrin CLA
eugene: iplog-
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit Perrin CLA 2014-01-14 08:33:43 EST
Created attachment 238964 [details]
Issue testcase

With the supplied test case, references to an array cell or structure field cannot be evaluated: a TCF error is reported.
For an array cell: Exception: At col 5: Operation is not applicable for the value type. Invalid expression
For a structure field: Exception: At col 5: Composite type expected. Invalid expression

From the UI, launch the application. Set BPs at lines 50 and 59.
Continue until line 50. In the expression view, add the expression: "ref.i" - an error is reported.
Continue until line 59. In the expression view, add the expression: "ref[2][3]" - an error is reported.
Comment 1 Eugene Tarassov CLA 2014-01-14 14:23:45 EST
Fixed.
Thanks!