Previous Topic Next topic Print topic


Enabling Profiler

Before you can generate a Profiler report for an application, you must enable Profiler in the properties of a project, a build configuration or a file.

To enable Profiler for a project:

  1. In the IDE, navigate to the project's properties.
  2. Click Micro Focus > Project Settings > COBOL, and check Enable profiler.
  3. Click OK.

To enable Profiler for a build configuration:

  1. In the IDE, navigate to the project's properties.
  2. Click Micro Focus > Build Configurations > COBOL.
  3. Expand Enable configuration specific settings and check Enable configuration specific settings.
  4. Check Enable profiler and click OK.

To enable Profiler for an individual file:

  1. In COBOL Explorer, right-click the file or a selection of files whose properties you want to change.
  2. On the COBOL tab, check Enable file specific settings.
  3. Check Enable profiler and click OK.
Note: If automatic builds are switched off in the IDE, you need to recompile your projects manually in order for these changes to take effect.

If your application executes in an enterprise server, you must also configure the server to run in Profiler mode:

  1. In the IDE, open the Server Explorer view.
  2. Right-click the server that your application uses and click Configure Analysis > Profiler.

    Next time you run your application, you get Profiler reports after stopping the server.

Previous Topic Next topic Print topic