CrushMFT Documentation

Breakpoints and stepping#

A breakpoint stops a run on a line between two tasks, so that you can look at what the run has in hand before the next task acts. It is how a job is tried step by step, and how a job that deletes or sends things is tried safely.

Setting a breakpoint#

To Do
put one on a line right-click the line: Add Breakpoint here
put one on every line the flag in the bar: Add breakpoint to each step
take one away its own close button
take all away the flag: Remove all Breakpoints

A breakpoint is drawn on its line. It can sit on any line, of any colour, except:

  • a line out of Start: "A path out of Start can not have a breakpoint."
  • a line that has one already: "This path already has a breakpoint."

A breakpoint inside a loop stops in every pass. A breakpoint whose task is deleted goes with it.

Breakpoints are part of the job and are saved with it.

Stepping through a run#

  1. Set the breakpoints and press Save Changes.
  2. Press Test & Run Job.
  3. The run starts and stops at the first breakpoint it reaches. Under Active Jobs it is shown as Paused.
  4. Look: click the task before the breakpoint for the items it handed on, with all their values. The Log tab shows what the tasks wrote so far.
  5. Resume lets the run go on to the next breakpoint, or to the end. Stop ends it there.

With a breakpoint on every line, Resume is a single step.

What to look at:

  • The items. Are they the ones you meant? A Find with too wide a filter shows here, before the Delete behind it runs.
  • Their values. Each item lists its address, name, size and whatever tasks added. These are the names you can use as variables.
  • The count. A task that was given 2 items and hands on 0 says where a job loses its files.

Take them out again#

Warning

A breakpoint stops every run, also the scheduled one at three in the morning. A job that is left with a breakpoint in it pauses each night and waits for somebody to press Resume. Remove all breakpoints before a job goes into use.

A paused run counts as a run of the job: with Single instance only ticked, the job does not start again while one is paused. The Dashboard's Paused tile shows how many runs are waiting.

Without breakpoints#

To Use
see what a run did afterwards the run under Active Jobs: every task with the items it got and gave
try a single value POST /tests/job-variable of the API
try a job on harmless files a copy of the job whose Find points at a test folder
hold a run for a time, not for a person a Wait task