ENABLED attribute
- Last Updated: August 29, 2023
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Determines whether or not the profiler is enabled. When set to TRUE, the profiler is activated and initialized. The default value is
FALSE.
Data type: LOGICAL
Access: Readable/Writable
Applies to: PROFILER system handle
When the profiler is first enabled, all the active procedures are registered
and assigned module identifiers. An active procedure is any persistent procedure or any
procedure on the procedure call stack. For each active procedure, except those that are part of
Developer Studio, a PROFILER:LISTINGS setting of TRUE also generates listing
files. In addition, a TRUE setting records coverage analysis information. To generate listing
files or coverage analysis information, set PROFILER:LISTINGS and
PROFILER:COVERAGE attributes to TRUE before
setting PROFILER:ENABLED to TRUE. As long as profiling is enabled, Progress
maintains a registry of the procedures that executed, regardless of whether profiling is turned
on or off (controlled by the setting of the PROFILER:PROFILING attribute). When
profiling is disabled (by setting PROFILER:ENABLED to FALSE), Progress writes
accumulated profiling data to the output file, and then discards the registry of procedures that
executed.