[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display does not refresh/reflect changes when another process modifi
From: |
Andreas Zeller |
Subject: |
Re: Display does not refresh/reflect changes when another process modifies it!! |
Date: |
12 Jul 2001 17:42:13 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley) |
Hi!
"Sachin Shurpali" <Sachin.Shurpali@marconi.com> writes:
> I have two tasks , which have a shared memory, which is read/written by both.
> I
> open both tasks with two instances of ddd.
> My observation is , when one task modifies the shared mem area , the Display
> in
> other instace of ddd does not reflect it.
DDD has no means to detect that memory changes on the fly
(i.e. without any debugger interaction). You have to invoke an
explicit redisplay.
> I hope , the next releases of ddd will have this corrected.
I see no way how DDD could do this automatically other than, say,
re-reading displayed memory in regular intervals (which ones? seconds?
milliseconds?). Even then, the underlying command-line debugger might
cache the results. I'm afraid - you'll have to redisplay manually
whenever you suspect that something might have changed.
Best wishes,
Andreas
--
Andreas Zeller Universitaet des Saarlandes
http://www.st.cs.uni-sb.de/~zeller/