*BSD News Article 82768


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!csir.uni.net.za!und.uni.net.za!ru.uni.net.za!wits.uni.net.za!howland.erols.net!news.sgi.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!arclight.uoregon.edu!dispatch.news.demon.net!demon!netcom.net.uk!nntpfeed.doc.ic.ac.uk!sunsite.doc.ic.ac.uk!dundee.ac.uk!dtrg
From: dtrg@st-andrews.ac.uk (David Thomas Richard Given)
Newsgroups: comp.unix.programmer,comp.unix.bsd.bsdi.misc
Subject: Re: How to debug C programs
Date: 4 Nov 1996 15:42:26 GMT
Organization: University Of St. Andrews, Fife, UK.
Lines: 27
Message-ID: <55l2t2$ckc@dux.dundee.ac.uk>
References: <54plmi$rce@hoho.quake.net> <5526i2$4g7@news.eng.octel.com> <55gre6$q96@rebecca.albany.edu> <55kmeb$3h1@innocence.interface-business.de>
NNTP-Posting-Host: edge.st-and.ac.uk
Xref: euryale.cc.adfa.oz.au comp.unix.programmer:46218 comp.unix.bsd.bsdi.misc:5264

In article <55kmeb$3h1@innocence.interface-business.de>,
J Wunsch <joerg_wunsch@interface-business.de> wrote:
>> >In case you have dbx on your system, you may find it usefull.
>
>>    I'm interested in this topic too.  I have  DBX on my unix machine,
>>    but my problem is I don't know know how to run the dbx, I don't have the
>>    manual, anybody have any clue?
>
>dbx <name of executable>
>
>Then simply type `help'.

You may also find ddd useful; it's a graphical front-end to a number of 
debuggers including gdb and dbx. Basically, a point-and-click interface 
with things like breakpoints, variable watching and so on.

xwpe is a Borland-like IDE that also has a debugger, but integrated with 
the editor. It's rather good but doesn't look great.

Both of these are X programs, of course.


-- 
------------------- http://www-hons-cs.cs.st-and.ac.uk/~dg --------------------
   If you're up against someone more intelligent than you are, do something
    totally insane and let him think himself to death.  --- Pyanfar Chanur
---------------- Sun-Earther David Daton Given of Lochcarron ------------------