ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSNProg-91.tar.gz#/comp-sys-next-programmer/1991/Oct/Debugging-a-C++-application-on-the-NeXT

This is Debugging-a-C++-application-on-the-NeXT in view mode; [Up]


Date: Sun 03-Oct-1991 22:53:51 From: stuart@ads.com (Stuart Crawford) Subject: Debugging a C++ application on the NeXT Can you use gdb as it comes on the NeXT, or do you need to grab and install gdb from another source? When I use the NeXT gdb on my C++ code (from within Emacs) and try to set breakpoints, gdb complains that my source files don't exist. This doesn't happen when I try to debug Objective-C code. Thanks, Stuart
Date: Sun 07-Oct-1991 16:31:26 From: doug@foxtrot (Douglas Scott) Subject: Re: Debugging a C++ application on the NeXT In article <uoxh2at5va@ads.com> stuart@ads.com (Stuart Crawford) writes: > Can you use gdb as it comes on the NeXT, or do you need to grab and install gdb > from another source? When I use the NeXT gdb on my C++ code (from within > Emacs) and try to set breakpoints, gdb complains that my source files don't > exist. This doesn't happen when I try to debug Objective-C code. Thanks, > > Stuart This error has nothing to do with C++ -- you havent told gdb where it can find all the source that you are debugging. Look at the 'dir' command. I have used gdb extensively in debugging C++. It knows how to display classes, etc.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.