Consultor Eletrônico



Kbase P2262: How to produce a readable stack trace using PROSTACK?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/9/2008
Status: Verified

GOAL:

How to produce a readable stack trace using PROSTACK?

GOAL:

How to use prostack?

FACT(s) (Environment):

UNIX
Progress/OpenEdge Versions

FIX:

This solution explains how to use PROSTACK to produce a readable Stack trace for any Progress executable that produces a core file.

For _progres, where a core file has been generated for example, start a Progress session and run the following command:

prostack -r $DLC/bin/_progres <core file>

A menu screen will initiate where you will be prompted to type your OS.

Use 'uname -a' on your machine to get your OS.
For an Alpha, type 1 for example.
Confirm the option you typed in with a "y"

Log messages will be displayed and these files will be created:

dbx.log
dbx.script.tmp
and possibly
protrace.<pid>

Examine these files to evaluate the core file.