🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.apollo
Article #242

Re: Execution Time Routine Trace

#242
From: Nathaniel Mishkin
Date: Thu, 28 Aug 1986 13:20
27 lines
1805 bytes
    We have a fairly large application program for which we would like
    to automatically generate a dynamic routine calling tree (actually,
    several such traces are necessary, as these change with problem type).

    I hacked together a little shell script that use 'bind' to get a
    list of all procedures, generates DEBUG break commands, then runs
    the program under the debugger.  Works most of the time (debugger
    even seems to accept 500+ breakpoints), though I have had trouble
    with infinite looping somewhere on one particular program.  And it
    sure is ugly.

    Is there a better way?

If I understand what you want, there sure is:  There is an Apollo product
called DPAK.  This product is a set of tools and documentation, the most
interesting tool being "dpat".  "dpat" is a Dialog-based (i.e. point
and click) tool that dynamically monitors a program's call stack,
collecting sample tracebacks, optionally displaying them dynamically
(with some performance hit, of course) and, after the program stops, lets
you analyze the samples in a variety of ways.  It's quite sophisticated
(i.e. a far cry from "hpc").

            -- Nat Mishkin
               Apollo Computer Inc.

-------
Technical Details
Message-ID: <8608281619.AA08026@EDDIE>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!apollo.UUCP!mishkin

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!apollo.UUCP!mishkin
From: mishkin@apollo.UUCP (Nathaniel Mishkin)
Newsgroups: mod.computers.apollo
Subject: Re: Execution Time Routine Trace
Message-ID: <8608281619.AA08026@EDDIE>
Date: Thu, 28-Aug-86 09:20:16 EDT
Article-I.D.: EDDIE.8608281619.AA08026
Posted: Thu Aug 28 09:20:16 1986
Date-Received: Fri, 29-Aug-86 05:30:49 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 27
Approved: apollo@yale-comix.arpa