The Error/GPF Window - Clipper Errors <Alt-8> Σ
About Clipper Errors and the Error/GPF window
──────────────────────────────────────────────────────────────────────────────
The error window will appear with valid information, only if you have added
the line:
MrdSaveErr( oError )
to your error system.
The window contains four pieces of information, normally found within the
standard error system.
┌─ 8 Error ────────────────────────────┐
Severity ─────│ Severity:Error │
Error Code ─────│ Error Code:BASE/1066 │
Description ─────│Description:Argument error │
Operation ─────│ Operation:conditional(0) │
│ │
└──────────────────────────────────────┛
Okay fine, so what's so special about that, apart from the fact that it's in
a window of it's own. Well when an error occurs the error window becomes the
currently selected window - just press ◄──┛ and you'll see the error object:
The <TAB> key will move the highlight bar between the Object browser, the
Methods and the variables. Within the Variables, you may use the cursor keys
to scroll up, down, left or right (when applicable).
┌─────────────────┬────────── Error Object ─────────────────────────────┐
│Object Browser │Variables Contents │
│ERROR ↑│ARGS E--- {1...1} ↑│
│ █│CANDEFAULT E--- .F. █│
│ █│CANRETRY E--- .F. █│
│ █│CANSUBSTIT E--- .F. █│
│ █│CARGO E--- NIL █│
│ █│DESCRIPTIO E--- "Argument error" █│
│ ↓│FILENAME E--- "" █│
├─────────────────┤GENCODE E--- 1 █│
│Methods │OPERATION E--- "conditional" █│
│CLASSNAME ↑│OSCODE E--- 0 █│
│ █│SEVERITY E--- 2 █│
│ █│SUBCODE E--- 1066 █│
│ █│SUBSYSTEM E--- "BASE" █│
│ █│TRIES E--- 0 █│
│ ↓│ ↓│
└─────────────────┴─────────────────────────────────────────────────────┛
Easier to track down the precise cause of the error!
The following is an example of the pop-up menu for the Error/GPF window,
which may be summoned either by clicking the right mouse button on the
window or by using <Alt-F10>.
┌────────────────────────────┐
│Inspect Error Object Return│
├────────────────────────────┤
│Zoom Alt-Z│
│Close Shift-Alt-E│
└────────────────────────────┛