Skip to content

Run Results

tostring_result

Public Information

Class loader

Shows the class loader information selected when calling.

Current class

Shows the class information selected when calling.

Current method

Shows the method information selected when calling.

Parameter types

Shows the method parameter information selected when calling.

Normal run

DebugTools provides three ways to view the run results: toString, json, and debug.

toString

Shows the run results of Quick call method and Groovy script by calling the toString() method.

tostring_result

Special case

  • If there is no return value (Void), then display
text
Void
  • If the return result is Null, then display
text
NULL

json

Convert the running results of Quick Call Method and Groovy Script to Json format for display.

json_result

Special case

  • If there is no return value (Void), then display
json
{
  "result": "Void"
}
  • If the return result is Null, then display
json
{
 "result": "Null"
}

debug

Convert the running results of Quick Call Method and Groovy Script to a style similar to Idea Debug for display.

debug-result

Quick operation: Right-click under the selected row to wake up the menu

  • Copy Name: Copy the Name of the selected row. The following figure copies settlementBatchNo.
  • Copy Value: copy the value of the selected row. The following figure shows 2024002. You can also quickly copy the value by clicking Ctrl+C on the selected row without waking up the menu (same as Idea).

debug_result_opt

IMPORTANT

When the result is Void or Null, debug mode viewing is not supported

Abnormal Situation

DebugTools provides console and debug to view the running results.

console

DebugTools provides log output similar to Idea console, you can view abnormal information, click the blue information to quickly locate the abnormal code location

console_exception.png

debug

DebugTools provides log output similar to Idea Debug, which can view exception information and has the same function as normal debug.

debug_exception.png