|Powered by QM on a Rpi server|
KnowledgeBase 00116: Debugging Procs
This article was originally published as a Tip of the Week.
QM includes a simple Proc debugger, mainly intended for use when migrating applications.
Entering Debug Mode
The Proc debugger is entered by use of the DEBUG command within a Proc. This command is only valid on Windows QMConsole sessions and on AccuTerm using a terminal type with a -at suffix. This is because the debugger requires support for screen save and restore.
The Debug Screen
The Proc debugger shows a portion of the Proc around the current line and also the content of the PIB, POB, SIB and SOB buffers. The currently active buffers are highlighted.