| Summary: | Variable view doesn't show record's list of records field | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Justin Spadea <jspadea> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jspadea |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed: IEGLJavaValue.java EGLJavaFunctionValue.java VariableUtil.java Verified that records in the list are visible in debugger. Noted the index offset starts at 0. Yet in code I would use 1 to access the first element. Is it possible to change this? I've modified ListVariable to parse the Java name and increment the numeric part of the display by 1. Verified Index change Closing this defect. |
I've generated Java for the code below and debug it to see if the element where getting added to the list. I couldn't see the content of the record from the variable view. I had to use write out to verify data added. =========== package explore; library tester {} function persistResult(name string, pkgName string, resultRootSum ResultSummaryRoot) syslib.writeStdOut(" begin persist"); //append the test case summary to result root summary resultSum ResultSummary; resultSum.name = name; resultSum.pkgName = pkgName; resultRootSum.trSummary.appendElement(resultSum); syslib.writeStdOut(" done persist"); end end Record ResultSummary pkgName String {@XMLAttribute{}}; //package name name String{@XMLAttribute{}}; //test library part name end Record ResultSummaryRoot trSummary ResultSummary[]{}; end ==================== package explore; program driver type BasicProgram {} use tester; function main() details String; resultRootSum ResultSummaryRoot; persistResult("Name 1", "PkgName 1", resultRootSum); details = resultRootSum.trSummary[1].name; sysLib.writeStdOut(details); persistResult("Name 2", "PkgName 2", resultRootSum); details = resultRootSum.trSummary[2].name; sysLib.writeStdOut(details); syslib.writeStdOut("done"); end end