Consultor Eletrônico



Kbase P160178: OE Architect: Does OpenEdge Architect provide for the generation of debug listing files during Compi
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/02/2010
Status: Unverified

GOAL:


OE Architect: Does OpenEdge Architect provide for the generation of debug listing files during the Compile or Build processes?

GOAL:

Does OpenEdge Architect have any Configurations or Preferences option to generate debug listing files during the Compile or Build processes?

GOAL:

Is there a way to make OpenEdge Architect build debug listing files during the Compile or Build processes?

GOAL:

How to customize the _idecompile.p file to enable the generation of debug listing files during the Compile process?

FACT(s) (Environment):

Windows
OpenEdge 10.2B

FIX:

Although OpenEdge Architect does not provide any native Configurations or Preferences option to generate debug listing files during the Compile or Build processes, one way to do this is to modify the file :
${DLC}\oeide\eclipse\plugins\com.openedge.pdt.project_10.2.1.00\runtime\_idecompile.p
To enable debug listing generation along with compilation, insert the following two lines on Line 63 where a check for saving r-code is being made:
DebugListing = true.
DebugListFile = SourceFile + ".listing".
This modification will make the code look like the following snippet:
:
:
do:
assign
SaveRCode = false
SourceFileFull = SyntaxFile.
end.
else
do:
SourceFileFull = SourceFile.
DebugListing = true.
DebugListFile = SourceFile + ".listing".
end.
:
:
Note that this would always generate the ".listing" file for each file being compiled through OpenEdge Architect unless additional if else condition is added based on source file / project path etc.
After recompiling files / rebuilding projects in OpenEdge Architect, just Refresh the project (Right-Click on project and select Refresh) and you will see the ".listing" files generated at the source location.
Please note that modifications to the distributed code is NOT supported.