Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!rutgers!topaz!katinsky From: katinsky@topaz.RUTGERS.EDU (David Katinsky) Newsgroups: comp.unix.questions Subject: Re: Program runs under sdb, but when called direct?!?! Message-ID: <8408@topaz.RUTGERS.EDU> Date: Fri, 16-Jan-87 03:52:03 EST Article-I.D.: topaz.8408 Posted: Fri Jan 16 03:52:03 1987 Date-Received: Fri, 16-Jan-87 22:25:52 EST References: <1024@chinet.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 25 > I have a program, the recent VC spreadsheet program on my > AT&T 3b2/400 with SVR2. I compiled it without errors. When I > try to run it, the program does nothing, so I treid to use > the sdb debugger on it. When I used "sdb vc" and then issued > the "r" command to run the program, it ran fine!! > > What could make a program run perfectly under the debugger, but > not from the shell? There is a program called vc, "version control", which lives in /usr/bin. It is likely that this was in your PATH before the spreadsheet. When you ran sdb, *IT* searched in the current directory for a program to debug. This all depends, of course, upon your PATH. If you do run things in the current directory first, this is not the answer. -- "Life's a piece of shit, when you look at it......" Monty Python's Life of Brian ARPA: katinsky@topaz.rutgers.edu UUCP: ...{harvard, seismo, ut-sally, sri-iu, ihnp4!packard}!topaz!katinsky