bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd hickups on startup: file not found errors


From: Martin Bickel
Subject: ddd hickups on startup: file not found errors
Date: Sun, 18 Feb 2001 19:43:21 +0100 (MEZ)

Hi,

since I upgraded to the latest LessTif , DDD runs absolutely stable and
is a joy to use. But I've encountered a problem that is not fatal, but
nevertheless inconvenient: I get several sourcefile-not-found error
messages when starting to debug a program too quickly.

Here are the details:

I want to debug a program called asc . The source files are located in
the directory /home/martin/asc/source/ , and the resulting executable
(called 'asc') is build in the same directory.
I've got a directory /home/martin/.asc/ which contains a symlink 'asc'
to the executable /home/martin/asc/source/asc
To debug asc, I change to ~/.asc/  and run 'ddd asc' . DDD starts up,
opening its main screen, which gets focus  (I'm using the KDE2 window
manager) and correctly displays the source file containing the main
function of asc. Then it opens the small window with the command
buttons, which gets focus. I now click with the mouse into an empty
space of the main window so it gets focus again and press the F3 key to
start the program [small note: it would be nice if the hotkeys worked
too when the small command window has focus]. ASC now correctly starts,
but soon several error messages in DDD pop up saying it can't find some
source files.

ASC starts up correctly, not noticing that it was interrupted several
times. If I wouldn't look at the DDD window but just used ASC, I
wouldn't notice the error messages of DDD. But as soon as want to do
something with DDD, I have to close the stack of error messages first.

If I wait about two seconds or more between changing the focus to the
main window and pressing F3, no error messages appear.

Looking at the log file (which is attached), it seems that DDD is a bit
confused about when it has finished starting itself (including setting
up gdb) and when to start the target program. The paths in the lines
365, 446, 470, 494 and 519 of the log file are the correct ones.

My DDD configuration is:

GNU DDD 3.3 (i686-pc-linux-gnu)
Copyright (C) 1995-1999 Technische Universitõt Braunschweig, Germany.
Copyright (C) 1999-2001 Universitõt Passau, Germany.

Compiled with GCC 2.95.2 19991024 (release), GNU libc 2.1
Requires X11R6, Xt11R6, Motif 2.0 (GNU/LessTif Version 2.0 Release
0.92.6)
Includes XPM 3.4.11, Athena Panner, DDD core
Built 2001-02-05 by software <software@linux.local>.

I'm using GNU gdb 4.18

Attachment: DDDLOG
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]