[comp.unix.i386] windowing debugger

bob%psitech@uunet.uu.net (Bob Posert) (06/06/90)

I'm looking for a windowing source level debugger for Dell(ISC) Unix
on the i386, based on the X window system; something like turbo C's
integrated debugger or sun's dbxtool.

So far, I've been able to locate dbXtra from HCR Corporation, but
they won't send out evaluation copies.  (I can BUY a DEMO. Hmph!)
Does anyone have any experience with this?

Also, there are sources for xdbx and dbx on uunet.  But, porting
would be an effort:
	xdbx is written for X11R3.
		Has anyone ported it to R4?  Is this even
		an issue?

	dbx needs to know lots of details about the activation
	stack frame, 386 opcodes, etc.  Has anyone done this for
	ISC Unix?

Any information about the above, or any other windowing debuggers,
would be greatly appreciated.

Post replies, or email and I'll post a summary.

Thanks in advance,
Bob
--
...!uunet!psitech!bob  <- should work   might work -> bob%psitech@uunet.uu.net

gw18@prism.gatech.EDU (Williams, Greg) (06/06/90)

In <393@psitech.UUCP> bob%psitech@uunet.uu.net (Bob Posert) writes:

>I'm looking for a windowing source level debugger for Dell(ISC) Unix
>on the i386, based on the X window system; something like turbo C's
>integrated debugger or sun's dbxtool.
>Also, there are sources for xdbx and dbx on uunet.  But, porting
>would be an effort:
>	xdbx is written for X11R3.
>		Has anyone ported it to R4?  Is this even
>		an issue?

I haven't had a whole lot of success getting xdbx to work under X11R4 on a
SPARCstation 1.  It compiled easily enough, but when I run it, I frequently
get "unable to do malloc" or something like that.  I haven't dug into the
code to figure out what's wrong because I don't have the time, and I can
just use dbxtool (though not from X).

>	dbx needs to know lots of details about the activation
>	stack frame, 386 opcodes, etc.  Has anyone done this for
>	ISC Unix?

ISC is SYS V and dbx is berkeley.  It would be a major port to get dbx to work
on SYS V.  You would be better off getting gdb (Gnu Debugger) and using it.
It has a similar command format to dbx, and it works on ISC Unix.  The
distribution also includes and xgdb, but the README says it was written for
X11R2 and is not completely debugged.  I haven't tried compiling it or using
it under X11R4 on my 386.  I do know that gdb work, and it is MUCH better
than sdb.  Looking at the docs, I'd say it was equivalent to dbx, possibly
a little better.

-- 
Greg Williams
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gw18
Internet: gw18@prism.gatech.edu

larry@focsys.uucp (Larry Williamson) (06/07/90)

In article <393@psitech.UUCP> Bob Posert writes:

   I'm looking for a windowing source level debugger for Dell(ISC) Unix
   on the i386, based on the X window system; something like turbo C's
   integrated debugger or sun's dbxtool.

   So far, I've been able to locate dbXtra from HCR Corporation, but
   they won't send out evaluation copies.  (I can BUY a DEMO. Hmph!)
   Does anyone have any experience with this?

I am a little surprised that they charge money for a demo too.

But, I can say first hand that this is *one very good debugger*. We
were one of their beta testers. Our version was not X based, just
plain ol' terminals.

I've seen a copy of their X based verion at a recent trade show. It
looked as slick as all the other X based packages you can buy now.

For my money I would not even begin to look at another debugger.
Especially one that I had to port.

This 'DBXtra' is extremely easy to use. Very, very flexible, since you
can define all kinds of nice keyboard macros. It's command line
editing is based on emacs.

If you've ever used Microsoft's code view, you would sense a bit of
deja vu. It has a vaguely familiar feel to it.

What do I get out of this plug? Nothing. Actually I am a little miffed
at HCR since they sold out to SCO. Now our local ISC dealer (and
support centre) is gone. To be fair, they say they will continue to
support 386/ix customers, but to be just as fair, one has to wonder
how much support you get now that they no longer provide 386/ix
upgrades.

Buy the demo, or scream at them loud enough to send you one for free.
In any case, do evaluate it.

-larry