SETTRACE Verb – BBj
For this topic's original documentation, see SETTRACE Verb - Set Line Tracing.
BBj-Specific Information
Description
If STBL("!COMPAT","TRACE_JAVA") is set to TRUE in BBj 22.00 and higher, BBj traces Java calls by listing:
>JAVA: new fully.qualified.classname(arglist)
>JAVA: fully.qualified.methodname(arglist)
>JAVA: fully.qualified.fieldname
In BBj 22.00 and higher, timed SETTRACE output starts with a timestamp line to indicate when the trace was generated and an initial >RUNNING line to indicate the initial program name:
>TIMESTAMP: 2022-03-31 12:34:56
>RUNNING: programname
MODE |
Description |
BBj Version |
---|---|---|
FLUSH |
Send all pending client-side operations to the client, and wait for the client to report completion, before logging execution time for the line of code and proceeding to the next line. This significantly slows down overall performance, but can be useful when trying to identify performance issues with client-side code. |
9.00 |
PREC=int |
Specifies the timer precision (number of decimal places). The default precision is 4 decimal places in BBj 22.00 and higher (2 decimal places in earlier versions). See Example 3. |
8.00 |
LEVEL=int | Specifies the single call level to be traced. The default is to trace all call levels. | 20.20 |
Version History
Examples
Example 1
|
Example 2
BBj emits ">JAVA:" trace output even for console-mode commands:
|
Example 3
Increased timer precision:
|