Generate a protrace file for a running program
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
You can force the creation of a protrace file, which contains stack traces and other information, for an OpenEdge process that is currently executing. OpenEdge automatically writes this file when a program terminates abnormally, but in some cases you might want to generate it while the program is running. For more information about the file, see protrace file.
You use the script proGetStack.bat (Windows) or proGetStack (UNIX) for this purpose. To run the script, enter the following at a command prompt:
|
Notes
- Generating a protrace file in this way does not stop execution of the OpenEdge session.
- On Windows, the protrace file generated by the proGetStack.bat script does not include an AVM stack trace.
- This command only affects OpenEdge processes which execute ABL code, including the GUI and Character clients, WebClient, batch clients, and application server agents. Other OpenEdge processes such as database utilities and server processes are not affected by this command.