Quote:
Originally Posted by compurandom
I've got a chain that randomly does stuff I don't want. I'm working on debugging it, but I'm thinking it would be nice to have some tools for debugging chains.
What I'm wishing I had right now is a button (on each line) in the chain editor to run the action. That would let me run each item to make sure it does what I think it should be doing.
|
Quote:
Originally Posted by ownedbycats
An option to toggle actions on and off without deleting them would work, too; you could toggle them all off and then toggle them all one at a time until you find the mistake.
|
Maybe have a "single step" mode? This would use a non-modal dialog so the user can interact with the library while the chain is running, in order to see what is happening. The idea: for each action in the chain:
- Run the condition and display the results. Wait for Continue/Cancel.
- Display the scope criteria. You could "Mark" the books in the scope, or maybe select them. Wait for Continue/Cancel. On "continue", ensure that the scope is applied, which might mean checking the selection in the library.
- Run the action. Where it makes sense, such as single-field edit, show the results somehow, possibly in the dialog, possibly using marks. Wait for Continue/Cancel.
This would certainly be a fair amount of work, but would provide a lot of flexibility.