From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 29-MAY-1991 18:01:00.38 To: ARISIA::EVERHART CC: Subj: Debugger tips... From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.97) id AA26797; Wed, 29 May 91 17:41:22 EDT Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Wed, 29 MAY 91 11:44:24 PDT Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA16348; Wed, 29 May 91 11:37:07 -0700 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 29 May 91 14:00:54 GMT From: haven.umd.edu!uvaarpa!software.org!stluka@purdue.edu (Fred Stluka) Organization: Software Productivity Consortium, Herndon VA Subject: Debugger tips... Message-Id: <1991May29.140054.20689@software.org> References: <1991May28.142214.17958@athena.mit.edu> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com VAX Debugger users, I'd like to start a thread about tips on using the debugger. Here are some of my favorite command aliases. Please post yours also. define/command alias = "show symbol/defined " ! Show aliases (like those defined ! below). define/command up = "set scope/current %next_scope_entry" define/command dn = "set scope/current %previous_scope_entry" define/command scope = "set scope/current " ! Move up and down the call stack, ! to see different levels of source ! code, variables, etc. define/command b = "set break " define/command cb = "cancel break " define/command bl = "set break %line " define/command cbl = "cancel break %line " define/command bx = "set break /exception" define/command cbx = "cancel break /exception" define/command bh = "set break @%pc " ! Set break here define/command cbh = "cancel break @%pc" ! Cancel this break define/command lb = "show break " ! Set, cancel, and show breakpoints. define/command sm = "set module " define/command v80 = "set terminal/width=80" define/command v132 = "set terminal/width=132" define/command v165 = "set terminal/width=165" --Fred -- Fred Stluka Internet: stluka@software.org Software Productivity Consortium UUNET: ...!uunet!software!stluka 2214 Rock Hill Rd, Herndon VA 22070 USA