public class Debugger
extends java.lang.Object
FWD just implements stub methods for the DEBUGGER attributes/methods - in case an attribute or
a method returns a logical, a false value will be returned.
| Modifier and Type | Class and Description |
|---|---|
private static class |
Debugger.WorkArea
Stores global data relating to the state of the current context.
|
| Modifier and Type | Field and Description |
|---|---|
private static ContextLocal<Debugger.WorkArea> |
work
Context-local instance.
|
| Constructor and Description |
|---|
Debugger() |
| Modifier and Type | Method and Description |
|---|---|
static handle |
asHandle()
Get a the instance for the DEBUGGER system handle.
|
static logical |
cancelBreak()
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(character procName)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(character procName,
int64 line)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(character procName,
long line)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(java.lang.String procName)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(java.lang.String procName,
int64 line)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
cancelBreak(java.lang.String procName,
long line)
Definition of the DEBUGGER:CANCEL-BREAK() method.
|
static logical |
clear()
Returns the resource to it's clear state.
|
static logical |
debug()
Definition of the DEBUGGER:DEBUG() method.
|
static logical |
displayMessage(character msg)
Definition of the DEBUGGER:DISPLAY-MESSAGE() method.
|
static logical |
displayMessage(java.lang.String msg)
Definition of the DEBUGGER:DISPLAY-MESSAGE() method.
|
static java.lang.Long |
id()
Get this resource's ID.
|
static void |
id(long id)
Set this resource's ID.
|
static logical |
initiate()
Definition of the DEBUGGER:INITIATE() method.
|
static handle |
instantiatingProcedure()
Getter for the INSTANTIATING-PROCEDURE attribute.
|
static logical |
isVisible()
Get the VISIBLE writable attribute.
|
static void |
readOnlyError(java.lang.String attribute)
API needed to implement read-only attribute assignment (a 4GL "feature").
|
static void |
readOnlyError(java.lang.String attribute,
java.lang.Object expr)
API needed to implement read-only attribute assignment (a 4GL "feature").
|
static character |
resourceType()
Get the type of its associated handle.
|
static logical |
setBreak()
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(character procName)
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(character procName,
int64 line)
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(character procName,
long line)
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(java.lang.String procName)
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(java.lang.String procName,
int64 line)
Definition of the DEBUGGER:SET-BREAK() method.
|
static logical |
setBreak(java.lang.String procName,
long line)
Definition of the DEBUGGER:SET-BREAK() method.
|
static void |
setVisible(boolean visible)
Set the VISIBLE writable attribute.
|
static void |
setVisible(logical visible)
Set the VISIBLE writable attribute.
|
static boolean |
unknown()
Implementation for the
WrappedResource.unknown() API. |
static boolean |
valid()
Implementation for the
WrappedResource.valid() API. |
private static final ContextLocal<Debugger.WorkArea> work
public static handle asHandle()
StaticProxy.obtain(Class, Class[]), using the DebuggerResource interface and
its methods implemented by these classes: Debugger.public static java.lang.Long id()
public static void id(long id)
This is a no-op for system handles.
id - The resource's ID.public static character resourceType()
public static boolean valid()
WrappedResource.valid() API.public static boolean unknown()
WrappedResource.unknown() API.public static handle instantiatingProcedure()
public static logical isVisible()
false.public static void setVisible(boolean visible)
visible - The new value for the VISIBLE attribute.public static void setVisible(logical visible)
visible - The new value for the VISIBLE attribute.public static logical clear()
false.public static logical cancelBreak()
false.public static logical cancelBreak(character procName)
procName - The target procedure name.false.public static logical cancelBreak(java.lang.String procName)
procName - The target procedure name.false.public static logical cancelBreak(character procName, int64 line)
procName - The target procedure name.line - The line number on which the breakpoint must be unset.false.public static logical cancelBreak(character procName, long line)
procName - The target procedure name.line - The line number on which the breakpoint must be unset.false.public static logical cancelBreak(java.lang.String procName, int64 line)
procName - The target procedure name.line - The line number on which the breakpoint must be unset.false.public static logical cancelBreak(java.lang.String procName, long line)
procName - The target procedure name.line - The line number on which the breakpoint must be unset.false.public static logical debug()
false.public static logical displayMessage(character msg)
msg - The message to be shown.false.public static logical displayMessage(java.lang.String msg)
msg - The message to be shown.false.public static logical initiate()
false.public static logical setBreak()
false.public static logical setBreak(character procName)
procName - The target procedure name.false.public static logical setBreak(java.lang.String procName)
procName - The target procedure name.false.public static logical setBreak(character procName, int64 line)
procName - The target procedure name.line - The line number on which the breakpoint must be set.false.public static logical setBreak(character procName, long line)
procName - The target procedure name.line - The line number on which the breakpoint must be set.false.public static logical setBreak(java.lang.String procName, int64 line)
procName - The target procedure name.line - The line number on which the breakpoint must be set.false.public static logical setBreak(java.lang.String procName, long line)
procName - The target procedure name.line - The line number on which the breakpoint must be set.false.public static void readOnlyError(java.lang.String attribute)
attribute - The attribute's name.handle.readOnlyError(handle, String)public static void readOnlyError(java.lang.String attribute,
java.lang.Object expr)
attribute - The attribute's name.expr - The value which is attempted to be assigned to the read-only attribute.handle.readOnlyError(handle, String, Object)