public class ByteCodeTrace
extends java.lang.Object
Constructor and Description |
---|
ByteCodeTrace() |
Modifier and Type | Method and Description |
---|---|
static void |
breakpoint(java.lang.Object obj)
Ad-hoc method for use as a debugging breakpoint
|
static void |
showDoubleVariable(double value,
java.lang.String variable)
Output a message to identify the contents of a variable (which must hold a double)
|
static void |
showIntVariable(java.lang.String variable,
int value)
Output a message to identify the contents of a variable (which must hold a int)
|
static void |
showLongVariable(java.lang.String variable,
long value)
Output a message to identify the contents of a variable (which must hold a long)
|
static void |
showMessage(java.lang.String message)
Output a simple message
|
static void |
showObjectVariable(java.lang.String variable,
java.lang.String value)
Output a message to identify the contents of a variable (which must hold an Object)
|
static void |
trace(int n)
Implement a trace point
|
public static void trace(int n)
n
- the number allocated to the trace pointpublic static void showMessage(java.lang.String message)
message
- the messagepublic static void showObjectVariable(java.lang.String variable, java.lang.String value)
variable
- the name of the variablevalue
- the value of the variablepublic static void showLongVariable(java.lang.String variable, long value)
variable
- the name of the variablevalue
- the value of the variablepublic static void showIntVariable(java.lang.String variable, int value)
variable
- the name of the variablevalue
- the value of the variablepublic static void showDoubleVariable(double value, java.lang.String variable)
variable
- the name of the variablevalue
- the value of the variablepublic static void breakpoint(java.lang.Object obj)
obj
- not currently usedCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.