eclipse-viatra / org.eclipse.viatra

Main components of the VIATRA framework
https://eclipse.dev/viatra
Eclipse Public License 2.0
1 stars 1 forks source link

Transformation Debugger stops only after a rule was fired #68

Open eclipse-viatra-bot opened 6 months ago

eclipse-viatra-bot commented 6 months ago

| --- | --- | | Bugzilla Link | 519641 | | Status | NEW | | Importance | P3 normal | | Reported | Jul 13, 2017 10:26 EDT | | Modified | Jan 05, 2018 10:34 EDT | | Version | 1.7.0 | | Reporter | Marton Elekes |

Description

A transformation step is already done before the debugger suspends.

Steps to reproduce:

The debugging and the transformation starts. I would expect to see the first activation in the Debug view without any modification on the model, but one rule was already fired, which created a host in the Deployment model and a Trace in the Traceability model.

eclipse-viatra-bot commented 6 months ago

By Peter Lunk on Jan 05, 2018 10:34

I Could reproduce it.

The error is due to an implementation related constraint. Currently, the transformation debugger agent waits until a debugger host connects to it. Once connected though, the state of the transformation host can only be updated as a rule is fired, as the transformation could be in an inconsistent state otherwise.

More technical aspects (for future reference)