Salesforce

How to locate where an error is coming from in an ABL process?

« Go Back

Information

 
TitleHow to locate where an error is coming from in an ABL process?
URL NameHow-to-locate-where-an-error-is-coming-from-in-an-ABL-process
Article Number000128888
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: All Supported Versions
OS: All Supported Platforms
Question/Problem Description

How to locate where an error is coming from in an ABL process?
How to find the line of code where an error was thrown from?
How to troubleshoot errors and where they come from?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

The ABL provides a variety of logging features that will show calls (RUN statement executions, TRIGGER executions, FUNCTION calls, METHOD calls, Creation and Deletion of objects in memory, Events that are fired, etc.), however none are specific to the line of code that is executing when an error is shown or a message is produced from an ABL application.

To this end, in 9.1D01 the -debugalert parameter was introduced to the product.  The below section discusses the -debugalert parameter and how to use it in various situations for finding the exact line of code where an error or message was shown.

 Is it possible to find out which procedure (*.p file) generated an error message?
 ABL Debugging: -debugalert Startup Parameter
 How to identify the line number in a program as reported by 4gltrace
 Can the Client Session Debug Alert (-debugalert) startup parameter be used with a Run-time Client?
 How to log the line number of code that raises an error when using structured error handling
 
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:06 AM

Powered by