Maximum Number of Problem Error Markers

Specifying a program level limit

You can specify a program level limit for the number of error markers processed before the build process is stopped. This is specified in the COBOL build configurations. To modify the program level limit:

  1. Right-click your project in the Application Explorer view and select Properties.
  2. Click Micro Focus > Build Configurations > COBOL.
  3. Expand Override project COBOL settings.
  4. Check Enable configuration specific settings.
  5. In the Stop after field, type the new program level limit for problem error markers.
Note: The default program-level limit for the number of problem error markers is 100.

Specifying a project level limit

You can specify a limit to the number of problem error markers displayed as part of a build. By default, this is limited to 10,000. The maximum number of problem error markers displayed during a build is specified by the build.errors.limit system property. You can modify this property by editing it in the eclipse.ini file. This file can be found in the C:\Users\Public\Micro Focus\Visual COBOL\eclipse /opt/microfocus/VisualCOBOL/eclipse/eclipse folder. For example, add the following to the eclipse.ini file to limit the problem error markers to 1000.

-Dbuild.errors.limit=1000

Set the property value to 0 to specify that there is no project limit to the number of problem error markers displayed for a build.

Note: When the maximum limit of project problem error markers is reached, a new build problem error marker is created explaining that there are too many build errors. Building a project without limiting the number of problem error markers can result in large numbers of problem error markers. Too many error markers can cause an internal error due to too much heap space being consumed. Micro Focus recommends that you limit your problem error markers to 10,000.