The Assert/Trace Window <Alt-Minus>
About The Assert/Trace Window.
──────────────────────────────────────────────────────────────────────────────
The Assert/Trace window contains the result from the Assert() or Trace()
functions that have been placed within your code. When an Assert() or
Trace() is triggered, the resulting message is sent to the Assert/Trace
window.
╔═ - Assert/Trace (1/1) (Total:1) ═══════════════════════════╗
║Time---- Filename----- Function-- -Line Message-------------↑
║12:27:20 TEST.PRG TESTGET 314 Param 1 is not type █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ █
║ ↓
╚←██████████████████████████████████████████████████▒▒▒▒▒▒▒▒→╝
As we can see from the above sample Assert/Trace window, an Assertion has
occurred - probably because a variable that was passed down to a function was
of an incorrect type.
At this point in the program you could make a note of the problem using the
Notes command and then correct the variable within the variables window and
then continue on with the program, correcting the error later.
The following is an example of the pop-up menu for the Assert/Trace window,
which may be summoned either by clicking the right mouse button on the
window or by using <Alt-F10>.
┌───────────────────────────┐
│ Goto Return│
│ Show Space│
├───────────────────────────┤
│[x] Auto Open Trace Window │
│[x] Update All Windows │
├───────────────────────────┤
│[ ] Disable Asserts/Traces │
│[ ] Function Trace Messages│
├───────────────────────────┤
│ Create Trace Log │
│[ ] Auto Trace File │
│[ ] Real Time File Updates │
├───────────────────────────┤
│[x] Display Time │
│[x] Display File Name │
│[x] Display Function │
│[x] Display Line Number │
│[x] Display User String │
├───────────────────────────┤
│ Clear Trace Info │
├───────────────────────────┤
│ Zoom Alt-Z│
│ Close Shift-Alt-Minus│
└───────────────────────────┛