HP3000-L Archives

November 1995, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Mon, 20 Nov 1995 22:36:45 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Mike writes:
...
> to see more detail on the process you can:
> debug
> trace #pin
>
> the # is required to tell debug that the number is a decimal value.
 
That's:
 
   :debug
   pin #pin
   tr
 
a "trace #pin" says: please print a stacktrace for the current process
I am looking at (generally your own process), and stop after "#pin" stack
markers are shown.
 
For example, to see the stack of process 123 (decimal 123!), do:
 
   :debug
   pin #123
   tr,i,d
 
(The ",i,d" says "please continue past any interrupt markers" and "please
show me both NM and CM markers")
 
BTW, this requires that you have PM capability.
 
If the process in question is running the program A.B.C, you'll get a
much more readable stacktrace by doing:
 
   :run a.b.c; debug
   pin #123
   tr,i,d
   abort
 
Because you are running the same program file, Debug will know how to
translate code addresses with the program into symbolic addresses.
 
--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2