Consultor Eletrônico



Kbase P80293: How to enable the Progress Debugger in OE 10.x?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/8/2010
Status: Verified

GOAL:

How to enable the Progress Debugger in OE 10.x?

GOAL:

How do I run proDebugEnable within OE 10.x?

GOAL:

Why can't I use the Debugger in OpenEdge 10.x?

GOAL:

Why isn't the Progress debugger working in OE 10.x?

GOAL:

How to resolve error 11724 trying to using degugger in OpenEdge 10.x?

GOAL:

The Progress 4GL is not enabled for debugging. Run proDebugEnable from within a proenv session on Windows or from a UNIX shell to enable debugging and set the debuggerEnabled property to 1 for any services that you want to debug. (11724)

GOAL:

How to start the Debugger tool ?

GOAL:

Where to find the Debugger tool ?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

FIX:

Starting in 10.0A, debugging (for the Progress debugger) is disabled by default.

To enable debugging on Windows:
1. Close any Progress session that you want to debug as the enabled setting is picked up when Progress starts up.
2. Make sure you are logged in as an administrator of the machine or as the user that installed the software.
3. Choose Proenv from the OpenEdge program group on the Start menu.
4. Run:
proDebugEnable ?enable-all
Progress Debugger will be enabled when you start a new progress client session.

The debugger can be started using the application debugger button from desktop or via the Tools -> Application Debugger menu option;
Or using the AppBuilder / Procedure Editor, the debugger can be started using the Compile -> Debug menu option (Shortcut: Shift-F4). This requires a file to be opened in AppBuilder.
Startiing on OpenEdge 10.0A, the debugger is also available from the OpenEdge program group, provided an OpenEdge Studio license is installed. Note that this only allows using the debugger in the new attachable mode.

To enable debugging on UNIX:
1. Close any Progress session that you want to debug as the enabled setting is picked up when Progress starts up.
2. Make sure you are logged in as root.
3. Run the following from the command line:
<OpenEdge install dir>/bin/proDebugEnable ?enable-all
Progress Debugger will be enabled when you start a new progress session


If you wish to use debugging on an AppServer then you will need to enable it for each appropriate AppServer broker either:

a) Via Progress Explorer by going into the properties of the relevant AppServer and selecting Agent -> Advanced Features -> tick the ?4GL debugger enabled? option.
b) Or edit the <OpenEdgeInstallDir>/properties/ubroker.properties file and look for the relevant AppServer section and add the line to enable the debugger, such as this example for asbroker1:

[UBroker.AS.asbroker1]
appserviceNameList=asbroker1
brokerLogFile=@{WorkPath}\asbroker1.broker.log
controllingNameServer=NS1
debuggerEnabled=1
defaultService=1
description=A sample AppServer setup for State-reset
environment=asbroker1
password=
portNumber=3090
srvrLogFile=@{WorkPath}\asbroker1.server.log
userName=
uuid=932.99.999.XXX:1ee77e:cf3bbe3d33:-8000