Consultor Eletrônico



Kbase 15947: WebSpeed 1.0 - Running Debugger Tool with Transaction SRV
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
SUMMARY:

The PROGRESS Debugger Tool is not included with the WebSpeed product for commercial version 1.0. This product can be purchased separately.

Additionally, the -debug startup option is not available with the NT version of the WebSpeed Transaction Server. You can however, use the -debug option to run the interactive PROGRESS Debugger Tool on the WebSpeed Transaction Server during an execution of a .w by a browser. The following additional steps are required:

SOLUTION:

1) Remove -weblog startup option from the AgentParams entry
in the broker configuration file (wtb.cnf).

2) Add the -debug startup option to the AgentParams entry
in the broker configuration file (wtb.cnf).

3) You should run with StartInstances = 1,
BeginNewInstances = 0, and MaxInstances = 1.

4) Modify the broker startup script to add the directory
containing web-disp.p (source code) to the beginning of
your PROPATH.

5) Set your DISPLAY variable to the machine you want to run
the Debugger on.

Now when you start the Transaction Broker, the Agent will
actually bring up the Debugger in web-disp.p. You can
search for and set a breakpoint at the line RUN run-web-object
IN web-utilities-hdl (AppProgram).

Step into this module and search/set break at
RUN VALUE(p_FileName) PERSISTENT SET current-wo-hdl NO-ERROR.

Step into your source code at this point.