You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been playing around with rules for quite some time now, but debugging them might be tricky. Would that be possible to have a clear way to debug them ? Wheter, replaying them, or getting the parts logged at some point (giving a clear state of the rules at each time ?)
Moreover, would that be possible to have precompile-errors shown if there is ? (this might require another ticket).
Solution Proposal :
Replay them like a movie. That would be the must, getting to play with states of the rules and getting to run forward and backward with a clear API. Even though it would require to run the rules from the beggining at each time. Like :
varrule=applyRules({debug:true});rule.run();//getting the resultrule.playForward();//getting next steprule.playBackward();//getting previous steprule.getStepsNumber();//getting all steps numberrule.runToStep(4);//getting rule run until step 4//and some other that might be relevant
With that API we could make a good UI debugger and facilitate our rule implementation process.
Not touching the current state without the debug option:
varrule=applyRules()
The text was updated successfully, but these errors were encountered:
Writting in progress
We have been playing around with rules for quite some time now, but debugging them might be tricky. Would that be possible to have a clear way to debug them ? Wheter, replaying them, or getting the parts logged at some point (giving a clear state of the rules at each time ?)
Moreover, would that be possible to have precompile-errors shown if there is ? (this might require another ticket).
Solution Proposal :
Replay them like a movie. That would be the must, getting to play with states of the rules and getting to run forward and backward with a clear API. Even though it would require to run the rules from the beggining at each time. Like :
With that API we could make a good UI debugger and facilitate our rule implementation process.
Not touching the current state without the debug option:
The text was updated successfully, but these errors were encountered: