Running the Procedure Debugger

Prev Next

Follow the steps below to use the Procedure Debugger to debug a procedure.

Note: Procedure Debugger will save the Target User, Watch List, and Break Points from the previous Debugging session.

  1. Navigate to Settings > Applications > App Designer > Procedures, then select the Debugger:

  2. Search for a Target User who will encounter and cause the procedure to execute.

Dropdown menu displaying user options for selection in a user interface.

  1. Select the User

  2. Select the procedure(s) you want to debug. The workspace updates to reflect the procedure selected.

Flowchart illustrating procedures for managing contract phases and adding notes in a system.  

  1. Check the code block(s) to apply a break point.

  2. Repeat step 5 for any other code block that you want to add a break point.

Note: You must apply a breakpoint to the block of code that contains the variable you want to add to the Watch List.

Flowchart illustrating conditional logic for adding notes based on contract phases.

  1. Select a block that has a break point to add a variable to the watch list

  2. Select the search area and a list of relevant parameters and variables appears. Select one and click Add .

Watch list interface displaying a string labeled 'contractPhase' with action buttons.

  1. Repeat steps 7 & 8 to add variables to the Watch List for any other code block that has a break point.

  2. Click Start. The Debugger remains in this loading state until the procedure is triggered in eCASE

Notes:

  • Wait 15 seconds before you trigger the event/procedure

  • You only have one minute to trigger the event/procedure before the debugger stops collecting data.

eCASE Procedure Debugger interface showing loading status and available procedures for admin user.

  1. Log-in to home as the user selected in step 3 and fulfill the requirements for the procedure to be executed. Make sure you leave the Procedure Debugger open and running in another window or tab.

12.Once you have triggered the procedure navigate back to the Procedure Debugger to see the execution paused at the break point with the value of the variable listed.

Flowchart illustrating contract phases and event handling in a procedure debugger interface.

  1. Click Continue to move to the next breakpoint or complete the execution of the code.

Note: You have one minute to Continue the execution of the code or the Debugger will stop and eCASE will resume the execution of the code.

  1. Once the code has finished executing and there is no more break points the page will continue loading for another minute looking for other procedures to execute, then the Procedure Debugger will stop.

eCASE Procedure Debugger interface displaying loading status and available procedures for admin.