From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6ffd8241aa4d0092 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-23 17:13:22 PST Path: sparky!uunet!tis.com!mjr From: mjr@tis.com (Marcus J Ranum) Newsgroups: comp.sys.dec Subject: Re: Debugger for DECstation 3100 Date: 24 Feb 1993 01:13:22 GMT Organization: Trusted Information Systems, Inc. Message-ID: <1mei3iINN5aq@sol.tis.com> References: <1993Feb23.165745.17028@newsgate.sps.mot.com> NNTP-Posting-Host: sol.tis.com >I have been trying to debug a C program on a DECstation 3100 using dbx(1), >without much success. dbx is capable of doing normal debugging and I use it often. What exactly does "without much success" mean? Is the debugger crashing, or are you just having trouble finding the bug? In the latter case, it may be there are debugger tricks that might help out, but those tend to be specific to the class of bug you're tracking, and the failure mode of the program. "Debug lore" as it were. For anyone doing anything more than non-trivial C programming, no matter how good you are, I highly recommend Centerline's C interpreter environment. It's amazing and pays for itself in a month or two. It tracks a large number of classes of errors that runtime debuggers can't or don't, such as memory stomps, wild pointers, array overruns, etc. [I'll spare the readership of this group my usual rant about how mind-boggling it is that people persist in attempting to program real systems in a language like C, without using decent development tools.] mjr.