[Modelinterpreter] [Model Interpreter] #331: Problem with model with two instances

Boldizsár Németh nboldi at caesar.elte.hu
Wed Sep 30 22:27:39 CEST 2015


Szia!

a megfelelő branch-en próbáltad ki? nem trunk-on javítottam.

Boldi

On 2015.09.30. 22:25, modelinterpreter-trac at plc.inf.elte.hu wrote:
> #331: Problem with model with two instances
> -------------------------+----------------------
>    Reporter:  kitlei      |      Owner:  kitlei
>        Type:  defect      |     Status:  assigned
>    Priority:  major       |  Milestone:
>   Component:  Code_Debug  |    Version:
> Resolution:              |   Keywords:
> -------------------------+----------------------
>
> Comment (by kitlei):
>
>   If a State is visible in the Debug view, the next Resume will result in an
>   `An internal error occurred during: "children update".` error. The stack
>   trace in a particular case is:
>
>   {{{
>   java.lang.ArrayIndexOutOfBoundsException: 1
>           at
>   org.eclipse.debug.internal.ui.viewers.model.ChildrenUpdate.setChild(ChildrenUpdate.java:125)
>           at
>   org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildren(ElementContentProvider.java:94)
>           at
>   org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$1.run(ElementContentProvider.java:44)
>           at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>   }}}
>
>   However, if I keep all `Class#N` instances closed, Resume seems to work
>   fine.
>
>   Unfortunately, I don't see any way RCPTT can be told to fold/unfold levels
>   in the Debug view, which is problematic because it is quite random whether
>   during a given execution, only the `Class` gets to be visible or the
>   `State` below it, too, and the latter case breaks the test. Therefore,
>   this issue remains a blocker for testing the Debug UI, as it prohibits
>   stepping.
>



More information about the Modelinterpreter mailing list