[ From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 16-JAN-1991 01:42:09.96  To:	MRGATE::"ARISIA::EVERHART" CC:	1 Subj:	Re: Does anyone like DEBUG with DECwindows?   * Received:  by crdgw1.ge.com (5.57/GE 1.80)) 	 id AA28535; Wed, 16 Jan 91 01:24:33 EST Y Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Tue, 15 JAN 91 16:15:36 PST , Received: by ucbvax.Berkeley.EDU (5.63/1.42)* 	id AA11217; Tue, 15 Jan 91 16:00:55 -08009 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: 15 Jan 91 22:59:20 GMT From: deccrl!news.crl.dec.com!shlump.nac.dec.com!pa.dec.com!hollie.rdg.dec.com!iosg.enet.dec.com!marchant@bloom-beacon.mit.edu  (Paul Marchant) 8 Organization: Digital Equipment Corporation, Reading UK.4 Subject: Re: Does anyone like DEBUG with DECwindows?7 Message-Id: <1991Jan15.233509.15592@hollie.rdg.dec.com> # Sender: info-vax-request@kl.sri.com  To: info-vax@kl.sri.com     D In article <29323@usc>, siemsen@sol.usc.edu (Pete Siemsen) writes...7 >Does anybody like DEBUG with the DECwindows interface?   L I took an instant dislike to it the first time I used it. The first time was also the last time.   H What I do is use CREATE/TERM to create a DECterm window for the debugger input and output, viz:  F $ create/terminal/define=(table=lnm$job,dbg$input,dbg$output)/noproc -D      /window=(rows=48,x=350,y=65,icon="DEBUG",title="DEBUG DECterm")A $ if f$trnlnm("dbg$output","lnm$job").eqs."" then goto no_decterm ! $ define/job dbg$decw$display " "  $ alloc dbg$output  I You need to allocate the created DECterm to ensure that there is always a F non-zero reference count. Otherwise, as soon as the debugger exits the DECterm disappears.    Cheers,  --  N Paul Marchant / marchant@iosg.enet.dec.com - marchant%iosg.enet@decwrl.dec.comN ...!decwrl!iosg.enet!marchant   //    disclaimer() { opinions = mine && !DEC }  