From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,82492350a2371b7 X-Google-Attributes: gidfee84,public From: diewald@virrus.zko.dec.com (Jeff Diewald) Subject: Re: DECladebug, was Re: Has anybody tried building ups (C - debugger) for alpha station? Date: 1995/05/05 Message-ID: <3oe3ja$i2n$1@usenet.pa.dec.com> X-Deja-AN: 102114868 distribution: world references: <3n0q5c$6vu@hermes.dna.mci.com> <3n8a34$fcn@news.ed.ray.com> <3nqr3j$9en$2@usenet.pa.dec.com> organization: Digital Equipment Corporation reply-to: diewald@virrus.zko.dec.com (Jeff Diewald) newsgroups: comp.unix.osf.osf1 In article , jr@ebi.ac.uk (J. R. Valverde (4423)) writes: |> |>In article <3nqr3j$9en$2@usenet.pa.dec.com>, diewald@virrus.zko.dec.com (Jeff Diewald) writes: |>> |>>In article <3n8a34$fcn@news.ed.ray.com>, system PRIVILEGED account writes: |>>|>Many people think (including yours truly ) that ups (available on |>>|>ftp.x.org) is THE best debugger for C. Unfortunately it does not compile |>>|>on alpha station. Some of us who grew up with ups find it extremely difficult |>>|>to survive without ups (xxgdb & mxgdb simply doesn't cut it ). |>> |>>What is it about ups that makes it such a good C debugger? As a member |>>of the DECladebug team, I know we have very good C support - but I want |>>to make it even better if I can. Have you tried DECladebug? How do they |>>compare? |>> |>OK, you don't need to post it twice. But it would be great if you got |>a little more informed before posting. |> I asked because, while I am informed about the various competitive debuggers, *your* opinions as a potential customer are important to me. We look at every debugger we can get our hands on. Frankly, your note is the first I've heard anyone say UPS is better than average. That's why I asked for more information. I appreciate the time you've taken for the detailed response. I'd like to respond to some of the points you've made. |>In the following read also xxgdb/dgb, or mxgdb/gdb where I say UPS, please. |> |>What's about UPS that is not in DECladebug? Easy: it's got a GUI. Does |>DECladebug have it? No. You need it separately by getting Fuse. |> Ease of use. We've known this was a problem. Our solution is that the GUI will be packaged with DECladebug starting with our next release. You won't need to buy FUSE just to get the DECladebug GUI. |>What's about UPS that's not in DECladebug? Easy, it's free. Does DECladebug |>come free? No, you need the Developer's license. OK, if you are on a |>DECcampus schedule, there's no problem. If you aren't? |> Cost. You can get the appropriate license for as little as $350 (single-user, no C compiler). Even the unlimited license with a C compiler is about $1500. That's the standard pricing; if DECcampus is cheaper, then that's even better. Furthermore, while the source for UPS is free, it takes your time to build it. Your time is worth something - and you'll have to make the tradeoff about how long it takes to become more expensive to build a "free" product. |> |>What's about UPS that's not in DECladebug? Easy, the GUI is also free. |>FUSE does not come with the Development license. It has to be bought |>separately. |> More cost. Which will go away soon. By the way, you can use DECladebug from within emacs, using the standard emacs interface. That's a cheap, standard UI to use. The support has been available for some time; check the release notes for more details. |> |>What's about UPS that's not in DECladebug? Easy, the source code is |>available. Is it for DECladebug? I'd bet that if it is it is only if |>you pay big bucks. |> Much more costs. The sources aren't available, as far as I'm aware - but why do you want them? If it's because you're going to make source changes, then your cost argument goes right out the window. If you're going to make source changes, you're going to have to understand and support those changes. That takes your time, and that costs your employer. As these changes are distributed around the net, you've got to fold the new changes in to your version. That's more time and more money. With DECladebug, you have a good, dedicated support staff working full time to make improvements and fix bugs. We know this code inside out. |> |>What's about UPS that's not in DECladebug? Easy, it is portable to multiple |>platforms. You learn it once and use the same in different architectures. |>In many of them. How much architectures provide DECladebug? And if there |>are several, are all supported with the same license or do you need |>rather separate licenses for each architecture? Does DECladebug support |>GCC and other compilers? |> Portability and consistency. DECladebug supports several platforms. It is very portable. The GUI actually supports even more platforms, since the code is shared with the OpenVMS Debugger on both Alpha and VAX. DECladebug is available on all of the Digital platforms that it makes Digital business sense for it to be on. If there was a business case for porting DECladebug to non-Digital platforms, Digital would consider it. (It isn't hard, given our design. We know because we've ported or investigated porting DECladebug to some interesting places.) Besides, you say "dbx, gdb, ups, will offer a common interface." Since DECladebug accepts the dbx command set, then it falls into the same category. You learn the dbx command set and you can go anywhere, including DECladebug. (To be honest, we're *almost* to 100% acceptance of the dbx command set. We're 95% of the way there in the currently available release; the remainder is in the works.) The different architectures do need different licenses. Just because you have MIPS Ultrix doesn't mean you get Digital UNIX for Alpha for free. While we do not support GCC, DECladebug does work with it. (As one of the DECladebug symbol table folks, gcc support has been on my list of things to look into.) On the other hand, gdb, UPS, and the other debuggers don't have the advantage of working directly with the Digital compiler and operating systems people. Thus, DECladebug had good, solid thread support shipped with DEC OSF/1 3.0 - when the thread support became available. People wanting Fortran-90 debugging support got it with their compiler. Much of the work going into our next release is stuff the competition won't have for quite some time. |> |>Of course, I see advantages in DECladebug. It's got some nice features, |>and is supported and backed by a strong company (I mean DEC :-) obviously) |>and if you have all the licenses, packages, and enough hardware, it is |>a good program. I use it indeed from time to time. And I don't mean to |>say decladebug has none of the above qualities, only that the extent |>is different. |> |>My only complain about commercial tools is that they are often not |>effectively cost-effective. Many times one is requested outrageous |>prices. And even whent that's not the case, directly, there use to have |>enormous indirect costs. I can understand many people worrying... I don't see $350-$1500 as an outrageous price to pay for a good commercial debugger. Given that there are a lot of indirect costs with all your "free" software, it looks downright cheap. Do the math at your place - add up all the time you spend supporting UPS. You may be surprised. (Try doing the experiment for emacs some time. The numbers may be frightening!) |> |>For example: One could think that with DECcampus the cost/benefit should |>be very good. *But* if you work in an heterogeneous environment, it fades |>away very fast: dbx, gdb, ups, will offer a common interface. With |>non-standard tools you need to master different command sets and interfaces |>for each architecture and OS. You begin to lose time. Time is money and |>at some point you are losing more than winning. |> |>I think that DECladebug is a nice, non-standard, non-GUI, not user-portable |>tool. |> I'd say that DECladebug uses standard commands. (dbx command set, EMACS interface) DECladebug will have a very nice, customizable GUI ship with it for no extra cost in the next release. It's not user-portable. It's cheap. Having gotten this far, I find it interesting that there's nothing about C language support that got on to your list - which is what prompted my original question. Is there something special about the UPS C support that you particularly like? Are there things you dislike? I think there are a lot of reasons for choosing DECladebug. I want to give you even more - which is why I appreciate your answers. --------------------------------------------------------------------------- Jeff Diewald EASYNET: VIRRUS::DIEWALD DECladebug group INTERNET: diewald@virrus.zko.dec.com Digital Equipment Corp. Note: I don't read every article in this group. If you have debugger questions, I may be able to get you an answer. You're much more likely to get an answer if you put "DECladebug" somewhere in your subject line.