LISTINGS attribute
- Last Updated: August 29, 2023
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
Determines whether or not the profiler automatically generates debug listing
files for the ABL code being profiled. The default value is FALSE. LISTINGS
requires access to source code.
Data type: LOGICAL
Access: Readable/Writable
Applies to: PROFILER system handle
The profiler generates a debug listing file the first time that a procedure is
executed. Therefore, if the PROFILER:LISTINGS attribute is FALSE the first time
a procedure is executed, then setting it to TRUE at a later time does not cause the
profiler to generate the listing file for that procedure. In other words, the profiler only
registers a module, using a unique identifier, the first time the module executes. The profiler
only generates debug listing files for modules that are external procedures.
Debug listing files are not generated if the source files are not accessible. The source files that make up a procedure must be in the PROPATH in order for the profiler to generate a debug listing file. If using in production, you can temporarily place the source code in a lower PROPATH folder. This causes the debug listings to be generated in order to be able to copy and load in a profiler view.
If the profiler cannot generate a debug listing file for a given procedure,
then the profiler treats the procedure as though the PROFILER:LISTINGS setting
was FALSE when that procedure first executes. The only way to get a Progress session to try
again to generate the debug listing for a procedure is to disable and then re-enable the
profiler by setting PROFILER:ENABLED to FALSE (which causes Progress to discard
its profiler registry of procedures) and then set it to TRUE again.