home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9278 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  752 b 

  1. From: bruno@hpfcso.FC.HP.COM (Bruno Melli)
  2. Date: Thu, 13 Aug 1992 16:08:15 GMT
  3. Subject: Re: SoftDebug under HP-UX 8.07
  4. Message-ID: <7371230@hpfcso.FC.HP.COM>
  5. Organization: Hewlett-Packard, Fort Collins, CO, USA
  6. Path: sparky!uunet!wupost!sdd.hp.com!hpscdc!hplextra!hpfcso!bruno
  7. Newsgroups: comp.sys.hp
  8. References: <1992Aug4.214903.3657@unixland.natick.ma.us>
  9. Lines: 15
  10.  
  11. > Yes you are correct.  A stack depth of 'x' implies the debugger has
  12. > stopped 8 procedures below main (main is depth 0).
  13.  
  14. Almost :-)
  15. The top of the stack is level 0. 
  16. In this case main would be at level 8.
  17.  
  18. The only control you can have on the stack depth is when you do a stack
  19. trace. You can say
  20.  
  21. t n
  22.  
  23. And the debugger will only show you the top n entries on the stack.
  24.  
  25. bruno.
  26.