Evaluation error when trying to inspect paren-less method
Actions:
Effects:
Environment:
- Debug a program and inspect the result of a paren-less method invokation , in my case (values: immutable.ParSeq[String]).size, i.e. inspect the expression values.size within the "Expressions" view.
- Same as above but add empty-parens to values.size, i.e. values.size().
Effects:
- When expanding the expression values.size within the "Expressions" view an error is displayed in the "Name" column saying "Unable to resolve binding for: validValues.size", see attachment "Expressions_view_eval_failure.png".
- When expanding the expression values.size within the "Expressions" view an error is displayed in the "Value" column saying "<error(s)_during_the_evaluation>", see attachment "Expressions_view_eval_failure.png".
- The expression with empty-parens, i.e. values.size(), works, see attachment "Expressions_view_eval_success.png".
Environment:
- Ubuntu Linux 11.04 64bit
- Eclipse Indigo Release Build id: 20110615-0604 "Eclipse Java EE IDE for Web Developers."
- Scala 2.9.1
- Oracle JDK 64-Bit Server VM, Java 1.7.0
- Eclipse installation details, see attachment "Eclipse_installation_details.png"
Leave a comment
on 2011-10-05 09:04 *
By Mirco Dotta
Assigned to changed from login to skyluc
Component changed from None to Debugger
Milestone set to 2.1
Improvements on the debugger will be tackled for the 2.1 milestone.
Thanks Luc for the heads up on this. Therefore, I'm closing this ticket, please follow one of the associated tickets if you are interested in the develoment of the expression evaluation engine for the Scala IDE.