home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!ai-lab!fiber-one!sundar
- From: sundar@fiber-one.ai.mit.edu (Sundar Narasimhan)
- Newsgroups: comp.programming
- Subject: Re: What would you like in a debugger?
- Message-ID: <26482@life.ai.mit.edu>
- Date: 12 Aug 92 17:59:28 GMT
- References: <bosullvn.713038630@unix1.tcd.ie> <SOMMERFELD.92Aug6095203@gourmet.apollo.hp.com> <12455@lupine.ncd.com>
- Sender: news@ai.mit.edu
- Reply-To: sundar@ai.mit.edu
- Organization: MIT Artificial Intelligence Laboratory
- Lines: 25
-
- In article <12455@lupine.ncd.com>, jim@ncd.com (Jim Fulton) writes:
- |>
- |> Bill writes:
- |>
- |> Such a thing existed in X version 10; it was called Xnest. I'm
- |> surprised that it hasn't been reimplemented for X11 by now..
- |>
- |> I forget the actual name of it, there was an "Xnone" that I think Matt Pappas
- |> rigged up in the summer of '88 or '89 when he was a student working for us at the
- |> X Consortium. It had no input or output devices and just did all of the graphics
- |> to a chunk of memory (GetImage was used to compare images).
- |>
- |> It was used for a little while, but folks generally found that it was easier to
- |> just throw hardware at the problem. With all of the different platforms we were
- |> trying to support as well as samples from the X terminal companies, we each had
- |> at least 2 displays. This also helped when debugging applications that did
- |> any sort of grab (e.g. window managers, xdm, etc.).
-
- With X, there are 3 processes involved which is the main cause of the
- problem. The debugger, the application process and the X server (really 4 if
- you include the window manager). There should be a way of preventing deadlock
- which can arise in such situations transparent to the application process.
- For example, if Motif or Xt decide to do a grab, then a debugger's PTRACE
- messages could also be intercepted by them to release the grab. Another
- is for debuggers to talk to the X server or WM direct.
-