The Error/GPF Window - GPF Errors                                   <Alt-8>
About GPFs and the Error/GPF window
──────────────────────────────────────────────────────────────────────────────

The Error/GPF Window is also used to display certain information about GPFs
that occur and can be trapped by MrDebug. Naturally MrDebug's GPF handler is
not going to catch every single GPF, but it will catch most of them and
allow you to at least work out what is going on.

When the GPF occurs, MrDebug will create a GPF log file before anything else
happens. The system may not be stable so if you do end up at DOS you can at
least scan the .MAP file with MrGPF. The GPF log filename will start with
the same name as the application and will have an extension of .GPF.

The GPF will be displayed in the Error/GPF window, along with many other
details about the registers. Your Error/GPF window may not be big enough to
show all of the relevant information, in which case you will need to change
the size of the window. As you re- size the window, the more items will
fill the window, as you widen the window you will be able to see more items
held in the stack, as shown in this window by Stack Value, SS:SP, Stack
Frame and SS:BP.

╔═ 8 Error/GPF ══════════════════════════════════════╗
When creating a .MAP exception error 13(D), general protection fault
file, we recommend
that you produce a CS:IP=0157:7033 Code=0000
.MAP file containing
both segments and Segment=ASUPPORT_TEXT
addresses. MrDebug Class=CODE Group=N/A
and MrGPF can then
report on the module Function=_STRCPY
and the function Address=0157:0000 Type=Res Offset=0010 (16)
where the GPF has
occurred Reg Value Limit Base Flags Segment
CS 0177 FFAF 0042BB7B 11111011 08
DS 01E7 FFFF 00403531 11110011 16 DGROUP
ES 0000 ****
SS 01E7 FFFF 00403531 11110011 16 DGROUP

AX=0053 BX=0000 CX=0002 DX=6D2A Flags=2246
SI=0043 DI=0000 BP=5CA0 SP=5C9A P Z I

Code Byte EC 57 56 1E FC C4 7E 06 8B DF C5 76 0A AC
IP --> AA 0A C0 75 FA 8C C0 1F 50 8B C3 5A 5E 5F

Stack value 4545 004B 0000 0000 0000 0114 02BF 4942
SS:SP --> 01E7 048A 6E0A 64BC 249D 013F 0000 0000

Stack frame 0000 0000 0114 02BF 4942 01E7 048A 6E0A
SS:BP --> 64BC 249D 013F 0000 0000 0042 01E7 0000

DS:SI=tring Z τ☺ CLASS(Y) Unrecoverab
ES:DI=NULL

╚════════════════════════════════════════════════════╝

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
└────────────────────────────┛