Consultor Eletrônico



Kbase P47953: How to generate stack traces/thread dumps from clients using the 4GL adapter on Windows platforms ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/11/2009
Status: Verified

GOAL:

How to generate a stack trace/thread dump from clients using the 4GL adapter on Windows platforms ?

GOAL:

How to generate a trace for java on Windows?

FACT(s) (Environment):

Windows
Progress 8.x
Progress 9.x
OpenEdge 10.x

FIX:

1.) In the Progress Explorer get the PID of the sonicMQ broker from the Summary-tab in the Status window:

Broker PID 1234

2.) From a DOS cmd shell:

a.) Enable drwatson as the default application error debugger if it is not already set. If you are not sure, running the following cmd will merely return an information message that Dr. Watson has been installed as the default application debugger:

drwtsn32 -i

b.) Note the PID of the process and run the following cmd:

drwtsn32 -p <PID>

The resulting trace will be written to the drwtsn32.log file.

Please note, this is equivalent to a kill -8 (HANGUP) on UNIX. The process will terminate.