*BSD News Article 68483


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!bofh.dot!arclight.uoregon.edu!enews.sgi.com!sgigate.sgi.com!swrinde!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: How to trace program
Date: 14 May 1996 15:11:21 GMT
Organization: interface business GmbH, Dresden
Lines: 17
Message-ID: <4na7qp$4fm@innocence.interface-business.de>
References: <magnej.29.31986CAD@oleg.hiof.no>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

magnej@oleg.hiof.no (Magne Johansen) wrote:

> I got a problem. When I run my program it jumps out of a loop.
>  Are there any way to trace the program line after line so we can find the 
> problem. The program are running on a Silicon Graphics Indy with UNIX. The 
> language I use is C.

You need a debugger.  For IRIX, this is generally payware.  (Don't
know how well the gcc/gdb combo now behaves, it used to have some
problems back when i've been working with IRIX.)

Btw: wrong newsgroup.  This is not BSD/OS-specific.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j