More on Command Line and Run Arugments

"Wells, John - FS" <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <451453C181B199458A55B2B1723FAC008220F7@SAGE.forestry.oregonstate.edu>
The biggest problem I have with ddd is getting it to import my
environment so that when I run a program ddd knows the locations of
objects and source.  I know about the preferences settings and setting
the working directory.  My program open a series of files that are
located in different places on my system.  For obvious reasons I do not
hard code the paths.   I build the paths to these various files in the
program before attempting an open.  When I run my program from the
command line, that is outside of ddd, it runs fine.  It opens all it's
files and goes merrily on it's way.  If I run within ddd it does not
find it's files even though the path names are built exactly the same
way and are correct.  

To make my program run in ddd I have to put all my files into my home
directory.  This seems to be a default for ddd even though I have
changed the working directory and directed ddd(gdb) where the source
files and objects are located.  I have read till my eyes bled the
documentation trying to solve the problem and I have sent emails before
requested help solving this problem.  I received zero response from
anyone and I could not find anything in the documentation.  This is the
main reason I quit using ddd.  Does anyone have any idea why I am
getting this behavior?  If my explanation is not clear and you think you
might know the answser, ask me a question. 

John
All will be well.  And all shall be well.  All manner of thing shall be
well. -- Lady Julian of Norwich

_______________________________________________
Ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ddd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.