Debugging in Character Mode
On a client running in character mode, the debug ProcScript statement causes a Debug command line to be displayed at the bottom of the screen.
The debug command line has the following format:
{
Trigger}
Module:
StatementNumberDebugInfo >
- Trigger—abbreviation of the trigger name, if applicable. See Trigger Name Abbreviations. If the next ProcScript statement is in global ProcScript, no trigger is displayed.
- Module—label of a ProcScript module. If no explicit module label is present, a module number is generated.
- StatementNumber—number of the statement within the module.
- DebugInfo—either the next ProcScript instruction, or the debugger's response to the previous command.
>
Debug prompt. Enter debugger commands after this prompt.
For example:
{EXEC} Y1:1 >
shows that the next instruction to be executed is the first statement executed in a component, whereEXEC
identifies the exec operation,Y1
the first module in the component, and1
the first line in the module.DO_TEST:7 >
shows that the next instruction to be executed is the seventh line in theDO_TEST
global ProcScript.
Character Mode Debugger Commands
Many debugger commands can be used in an
abbreviated form. In the Syntax description of each command, the shortest form recognized is shown
in capital letters. For example, SHow
indicates that you can enter
sh
, sho
, or show
.
Trigger Name Abbreviations
Abbreviation | Uniface 10 Trigger or Container | Object Type |
---|---|---|
ACPT | accept | Component |
AIO | create | Entity |
APPL | apStart | Application |
ASYN |
receiveMessage | Application |
ASYS | receiveMessage | Component |
CLR | clear | Component |
DECR | formatFromDbms | Field |
DCLA | Declarations container | Application Shell |
DCLE | Declarations container | Entity |
DCLF | Declarations container | Field |
DCLC | Declarations container | Component |
DELE | delete | Entity |
DFMT | formatFromDisplay | Field |
DLUP | deleteUp | Entity |
DTLE | detail | Entity |
DTLF | detail | Field |
ENCR | formatToDbms | Field |
ECOP | Collection Script container | Entity |
ERAS | erase | Component |
ERRE | error | Entity |
ERRF | error | Field |
FGF | getFocus | Field |
FMT | formatToDisplay | Field |
FRGF | getFocus | Component |
FRLF | loseFocus | Component |
FXTG | Script container | Field |
GTST | preActivate | Component |
HLPE | help | Entity |
HLPF | help | Field |
LFLD | loseFocus | Field |
LMK | leaveModifiedKey | Entity |
LMO | leaveModified | Entity |
LOCK | lock | Entity |
LPME | Script container | Entity |
LPMF | Script container | Field |
LPMX | Script container | Component |
LPO | leavePrinted | Entity |
MNUA | menu | Application |
MNUE | menu | Entity |
MNUF | menu | Field |
MNUS | menu | Component |
NFLD | next | Field |
OGF | getFocus | Header, trailer, and break frame |
OGF | loseFocus | Entity |
OPTN | select | Menu item |
EOOP | Occurrence Script container | Entity |
PDIS | preDisplay | Menu |
PREP | preRequest | Application |
PRLO | preDeserialize | Entity |
PRSO | preSerialize | Entity |
PFLD | previous | Field |
PRNT | Component | |
PSLO | postDeserialize | Entity |
PSSO | postSerialize | Entity |
PSTP | postRequest | Application |
PULA | pullDown | Application |
PULS | pullDown | Component |
QUIT | quit | Component |
READ | read | Entity |
RETR | retrieve | Component |
RETS | retrieveSequential | Component |
RMO | remove | Entity |
SMOD | startModification | Field |
STOR | store | Component |
STST | postActivate | Component |
SWIT | keyboardSwitch | Application |
UKYA | userKey | Application |
UKYS | userKey | Component |
VALC | valueChanged | Field |
VLDF | validate | Field |
VLDK | validateKey | Entity |
VLDO | validate | Entity |
WRIT | write | Entity |
WRUP | writeUp | Entity |