bug-ddd
[Top][All Lists]
Advanced

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

sessions automatically deleted...


From: Thomas Emmel
Subject: sessions automatically deleted...
Date: Tue, 30 Jan 2001 09:33:31 +0100

Hello,

I found some kind of bug in ddd handling sessions.
If I start ddd without any argument it opens a new session:

#  Hello, world!
#  Opening session "117f000002000098084224400000006590002"...
#  Enabling core dumps...
#  Enabling core dumps...done.
#  Running GDB (pid 1461, tty /dev/pts/3)...
#  Current language: c/c++
#  Creating
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/"...
#  Creating
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/"...done.
#  Copying "/home/emmel/.ddd/init" to
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/init"...
#  Copying "/home/emmel/.ddd/init" to
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/init"...done.
#  Copying "/home/emmel/.ddd/history" to
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/history"...
#  Copying "/home/emmel/.ddd/history" to
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/history"...done.
#  Saving session in
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/init"...
#  Saving session in
"/home/emmel/.ddd/sessions/117f000002000098084224400000006590002/init"...done.

This is a curious name for a session but there is no problem with it.
The session will be deleted after exiting ddd.
If I start with 
$ ddd --session mysession
ddd checks for an existing directory /home/emmel/.ddd/sessions/mysession
and reads
instructions for the init file inside.
Now I can do all things I like to do and save changes in my
configuration in the new
session.
Next time I can reuse this session.
The bug is the following:
If I start again with a previously created session and did NOT save the
session again
with "save session as", my directory (session) will be deleted without
any warning.
This happens every time I close ddd without saving the session
explicitely!
Normally I had expected that all changes in the configuration are not
saved...

Thomas

My configuration:
$ ddd --check-configuration
Checking for X11 library directory... /usr/X11R6/lib/X11
Checking for XKeysymDB... /usr/X11R6/lib/X11/XKeysymDB
No configuration problems found.

$ ddd -v
GNU DDD 3.2.1 (i386-suse-linux-gnu)
Copyright (C) 1995-1999 Technische Universitaet Braunschweig, Germany.
Copyright (C) 1999-2000 Universitaet Passau, Germany.

It is the standard ddd form SuSE7.0

debugger: gdb 5.0

-- 
____________________________________________________________________
Dipl.-Ing. Thomas Emmel

TU Darmstadt: Inst. f. Mechanik (FB6) AG IV
              Hochschulstr. 1,       64289 Darmstadt 
              Tel.: +49 (6151) 16 49 66, FAX: +49 (6151) 16 30 18
e-mail: emmel@mechanik.tu-darmstadt.de, thomas@family-emmel.de
www   : http://coulomb.mechanik.tu-darmstadt.de/~emmel
____________________________________________________________________



reply via email to

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