Path: utzoo!attcan!uunet!snorkelwacker!mit-eddie!rutgers!bellcore-2!bellcore!nontech!lestat From: lestat@nontech.Berkeley.EDU (David Gonzalez-Nieves) Newsgroups: comp.windows.x Subject: RE: X11R4 version of xdbx? Message-ID: <25738@bellcore.bellcore.com> Date: 26 Jul 90 15:08:43 GMT Sender: news@bellcore.bellcore.com Reply-To: lestat@nontech.Berkeley.EDU (David Gonzalez-Nieves) Organization: Bellcore Lines: 55 >Yes we also have that version here at North Carolina State University, but has anyone gotten it to work correctly. At the moment, ours will compile >and will run with some of the simpler programs (ones that do not call other >procedures that were compiled separately and linked into the executable). >Then when you try to step through the program, it says that it can't find >the file the procedure was compiled in. Also another annoying feature is that you can click on the "file" button and the machine will either show you the files or crash in a malloc error. >I have multiple versions of xdbx, from uunet.uu.net and the X11R >4 release tapes... all fail to work properly. The machine that xdbx is being compiled on is a DECstation 3100 running Ultrix 3.1d. We are currently running the R4 server. Any suggestions, comments, etc. will be appreciated. > > >====================================-------*-------============= >============== >- Tim Lowman | (tkl@osl.csc.ncsu.edu) | Sys. Prog. I @ NCSU Comp > ------------------------------- Hello I retried the xdbx version 2.0 for X11R3 and came to the following conclusions: 1. The only time I can not find a file while stepping is if the file is not in the current directory. In that case it will tell you it can't read the file. 2. The malloc error seems to happen when you are running a lot of programs in background or concurrently. I was able to recreate it when I ran 6 copies of a 600k program, vi, and XRn at the same time on a SUN 3/60 with 8 Meg Ram. This is a problem with memory availability. If you use XtMalloc, or any of the Xt functions that allocate memory and it's not able of allocating, it will exit the program. My only suggestion is add more memory or kill some windows when debuggin with xdbx. 3. I did find something annoying: When I run the program without trace, it will work properly. When I run it with trace, the probabilities are quite high that it will cause a Segmentation Violation type of error and quit after a while. bye -------------------------------------------------------- David Gonzalez lestat@ctt.bellcore.com Bellcore Architecture Technology District RRC 1M207S 444 Hoes Lane Piscatway, NJ 08854 VOICE (201) 699-6387 Internet, E-Mail: lestat@ctt.bellcore.com ---------------------------------------------------------- DISCLAIMER: Bellcore is not responsible for anything I say, write or think if they can be sued. I am not resposible for anything I say, write or even think if I can be sued. (Doesn't have any logic!!!)