GatewayScript debuggers

You can the local GatewayScript debugger or connect to the local GatewayScript debug endpoint to troubleshoot a GatewayScript file.

Debugging is an invaluable tool during service development. With the debugger, you can step through a GatewayScript file line by line, step into and out of functions, and monitor the values of variables. The local debugger provides commands for the following functions.
  • List a variable number of lines of the script
  • Step into, step over, or step out of a variable number of lines
  • Print the value of a variable
  • Set, delete, and list breakpoints
  • Produce a backtrace
Debugging is available for the following configurations.
  • Actions that uses GatewayScript files that can run a stylesheet with a gatewayscript extension element or a gatewayscript() extension function.
    • The following traditional DataPower® processing actions support GatewayScript.
      • AAA
      • Filter
      • GatewayScript
      • Route with a stylesheet to select destination
      • SQL with a stylesheet input method
      • Transform binary
      • Transform with processing instructions
      • Transform with XSLT stylesheet
  • The following API gateway assembly actions support GatewayScript.
    • GatewayScript
    • Map
    • XSLT
  • A GatewayScript that use a GatewayScript file as the document routing preprocessor