Executing Maps In Debug Mode
In Debug Mode, you can execute Maps Block by Block or set Breakpoints to stop at particular Blocks.
Note: You cannot edit a Map while you are in Debug Mode.
Note: For some third party Connectors, TIBCO Scribe® Online times out when running a Map in Debug Mode. Use filters in the Query Block to reduce the amount of data returned. See Block Properties Filter Tab.
- Open a Map.
- From the Map workspace, select Debug Mode at the top of the workspace. The Debug tabs open on the right and the Connection panel is hidden:
- Select Start to begin the process and navigate through the first Block. Typically this is the Query Block. The first record found in the Query displays in the Data tab.
- The Debug arrow displays just below the last Block processed.
- While processing the Query Block, TIBCO Scribe® Online walks through the entire Map and displays any fields mapped on the Block Properties Fields tab of the Blocks in the Map.
- Add Breakpoints to Blocks as needed by selecting the Block, then from the Gear menu
selecting Toggle Breakpoint or Edit Breakpoint to add a Conditional Breakpoint. Breakpoints are optional. Conditional Breakpoints cannot be added until Debug has been started and the first Block is processed. See Debug Breakpoints.
- Select Continue to execute the Map in Debug Mode.
Debug Process
- Navigate through the Map using Next and Continue. Select Continue to move to the next Breakpoint or Next to move to the next Block.
- If Breakpoints have been set, the Debug arrow displays next to the Breakpoint it has reached. Values from the previous Block and inputs for the next Block are displayed on the Inputs tab on the right.
- Debug processes the next Block in the Map, all Blocks down to the next Breakpoint, or all Blocks until a record error is found, and then stops again. The arrow moves to just below the processed Block, and the workspace displays any records that were changed when the Block was executed.
- After each Block, examine the data to ensure that you are getting the expected results.
- After this Map finishes executing a single record, the arrow moves back up to the top of the Map.
- You can select Stop to stop Debug mode, select Next again to continue walking through the Map with the next Block, or select Continue to move to the next Breakpoint.
- Select Exit Debug Mode to end your Debug session.