Kbase 18166: How to know where an error message box occurs using debugger
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  20/10/1999 |
|
How to know where an error message box occurs using debugger
How to know where an error message box occurs with Progress Debugger
Sometimes one may receive a message box with an error while running a
program; however, due to the complexity or length of the program, one
may not know where in the code the error is.
An easy way to find it is by using the Progress Debugger with the
following steps:
1) Run the program either from the UIB or the Procedure Editor using
the Compile/Debug option.
2) In the Progress Debug, choose the "Cont" button to continue the
execution of the program.
3) Run the program and reproduce the steps to get the message box.
4) Once you get the message box, use the Debug/Interrupt menu option
in the debugger. It will seem as though nothing happens, because the
message box is still active.
5) Close the message box, now the debugger shows the code where the
error occurred in the viewport. If this source code is not available
the debugger will give you the message: "No Debugger listing file
available for p2.p. (3071).".
6) Now the debbuger has the control of the program. You can use the
"Stack" button to display the location of the code where the error
occurred.
Note: The window of the program may not be repainted until you
continue the execution of the program either by using the "Step",
"Cont", "Next" button.
REFERENCES TO WRITTEN DOCUMENTATION:
====================================
- PROGRESS Debugger Guide
EAG 08/05/1998