Directory Integrator, Version 7.1.1
The stepper and debugger are tools built in to the Config Editor that can help you develop your AssemblyLines interactively.
You can run the stepper in two modes. One is the normal advanced debugger (activated by the Debugger button, see The Debugger) where you have access to all parts of the AssemblyLine and the other is the stepper (activated by the Data Stepper button, see The Data Stepper) that provides a simpler view of the components and flow. You can toggle between the two by clicking the button in the column view:



)
in each component is a shortcut for “Run to here”. 

When you choose the Debugger view you will be presented with a layout very similar to the stepper view, but in the debugger view you see much more of the AssemblyLine components and you also have the watch window where you can have custom expressions. The AssemblyLine components tree has a check box for each item you can check or uncheck to set or remove a breakpoint. Also, there are more command buttons that enable stepping into components and hooks.

(In the debugger window it can be useful to maximize the editor with Ctrl-M to get a better overview.)
The tree to the left shows the AssemblyLine components and hooks. You can toggle the check box for each item to set a break point there. Double-click the item to view the script, or to enter the script for a conditional break.
The picture below shows the conditional break tab after double-clicking the Before GetNext hook. Also note that you can hide all hooks that are inactive. Showing all hooks lets you set a breakpoint regardless of whether the hook is active or not. The Attributes check box lets you hide attribute maps from the tree view.

The attribute map panel shows the components and their assignments and also the value assigned to the work attribute. The value is a snapshot from the last break in the AssemblyLine and the Previous Value is the snapshot value before that. When you step through the AssemblyLine, the values will reflect maps and scripts that affect the work entry.

When you reach a breakpoint that contains JavaScript you can step into the script and have it executed line by line. The script tab will show the script about to be executed; you can follow the flow by using the Step Into command (the leftmost of the two Stepper buttons).

As you step through the script, each line will be highlighted before it is executed. You can also use the Evaluate function to display script engine variables while you step through a script.



You can also set breakpoints inside scripts. Open the editor for a script or attribute map and double-click the left margin. A blue bullet will appear to denote that there is a breakpoint set for that location. Double-click again to remove it. You can also right-click the left margin or in the text field to toggle break points.
