Program runs under sdb, but when called direct?!?!

David Katinsky katinsky at topaz.RUTGERS.EDU
Fri Jan 16 18:52:03 AEST 1987



> 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 at topaz.rutgers.edu
UUCP:	...{harvard, seismo, ut-sally, sri-iu, ihnp4!packard}!topaz!katinsky



More information about the Comp.unix.questions mailing list