[Modelinterpreter] debugging with multiple objects

Devai Gergely deva at caesar.elte.hu
Wed Aug 19 15:28:21 CEST 2015


Sziasztok!

A mai meeting emlekeztetojenek megirasa kozben felmerult bennem a 
kovetkezo kerdes (fel van irva a meeting oldalra is):
---
TODO 1: Selection of an object in the thread view should change the 
contents of the variable view.
TODO 2: Selection of an object in the thread view should change the 
animation of the state machine diagram.
Question/Problem: Before TODO2 above is solved, what will be visible on 
the state machine in case of many object instances? Guess: Whichever 
object instance is executed by the scheduler will take over the animation 
of the state diagram. This will result in random animation of the diagram.
---

Megoldas otlet: Amikor megallunk egy Java breakpointon, akkor a JDI-tol 
meg kellene tudni (meg lehet?), hogy melyik objektum kodja futott eppen. 
Ha a breakpoint animacio miatt volt a kodban, akkor meg kellene nezni, 
hogy a thread view-ban kivalasztott objektum azonos-e azzal, amit a JDI 
mondott, es csak ebben az esetben szinezgetni.

Mit gondoltok?

Gergo



More information about the Modelinterpreter mailing list