team-worthwhile/worthwhile — Issue #89: UnsupportedOperationException on breakpoint with condition
Author: jspam
Created: 2012-02-21 20:38:08+00:00
State: open
Labels: ui

Try to set a breakpoint with condition `i = 1` in line 35 of `T03_Syntaxhervorhebung.ww`. Upon debugging, the following exeption is shown on the command line:

```
Exception in thread "Worthwhile Interpreter runner" java.lang.UnsupportedOperationException
at org.eclipse.xtext.diagnostics.AbstractDiagnostic.getColumn(AbstractDiagnostic.java:35)
at edu.kit.iti.formal.pse.worthwhile.debugger.model.WorthwhileExpressionParser.parseExpressionString(WorthwhileExpressionParser.java:80)
at edu.kit.iti.formal.pse.worthwhile.debugger.model.WorthwhileDebugTarget.evaluateExpression(WorthwhileDebugTarget.java:559)
at edu.kit.iti.formal.pse.worthwhile.debugger.model.WorthwhileDebugEventListener.checkLineBreakpoint(WorthwhileDebugEventListener.java:412)
at edu.kit.iti.formal.pse.worthwhile.debugger.model.WorthwhileDebugEventListener.statementWillExecute(WorthwhileDebugEventListener.java:245)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.statementWillExecute(InterpreterASTNodeVisitor.java:284)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.visit(InterpreterASTNodeVisitor.java:564)
at edu.kit.iti.formal.pse.worthwhile.model.ast.Assignment.accept(Assignment.java:198)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.visit(InterpreterASTNodeVisitor.java:612)
at edu.kit.iti.formal.pse.worthwhile.model.ast.Block.accept(Block.java:92)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.visit(InterpreterASTNodeVisitor.java:958)
at edu.kit.iti.formal.pse.worthwhile.model.ast.Loop.accept(Loop.java:235)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.visit(InterpreterASTNodeVisitor.java:612)
at edu.kit.iti.formal.pse.worthwhile.model.ast.Block.accept(Block.java:92)
at edu.kit.iti.formal.pse.worthwhile.interpreter.InterpreterASTNodeVisitor.visit(InterpreterASTNodeVisitor.java:1101)
at edu.kit.iti.formal.pse.worthwhile.model.ast.Program.accept(Program.java:197)
at edu.kit.iti.formal.pse.worthwhile.interpreter.Interpreter.execute(Interpreter.java:93)
at edu.kit.iti.formal.pse.worthwhile.debugger.model.InterpreterRunner.run(InterpreterRunner.java:40)
```