[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decladebug

Title:Digital Ladebug debugger
Moderator:TLE::LUCIA
Created:Fri Feb 28 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:969
Total number of notes:3959

927.0. ""use" in .dbxinit different from CLI to GUI" by CXXC::MJHANS (Matthew Hanselman, DEC C/C++) Wed Apr 16 1997 10:16

    ladebug 4.0-35                          
    
    ladebug CLI and dxladebug GUI behave differently for source filename 
    lookup.  Namely, the GUI doesn't properly interpret "use" commands in
    ~/.dbxinit if directory paths are embedded in the source filename.
    
    I have the following directory tree:
    /usr/users/mjhans/tmp/src --> program.cxx lives here
    /usr/users/mjhans/tmp/exe --> currently empty
    
    I have this line as the last line in my ~/.dbxinit file:
    use /usr/users/mjhans/tmp/src
    
    I then build like this:
    cd ~/tmp
    cxx -g -O0 src/program.cxx -o exe/program
    cd exe
    
    Note that this causes the source filename to be "src/program.cxx", or
    from my point of view, "../src/program.cxx".
    
    If I fire up ladebug CLI, I can see the source.  If I fire up dxladebug
    GUI, I cannot see the source, it complains 
    
    	(Cannot find source file src/program.cxx)
    
    However, if I re-issue the command "use /usr/users/mjhans/tmp/src" while 
    in the GUI, dxladebug will then find the source.
    
    								- Matt
T.RTitleUserPersonal
Name
DateLines
927.1fixed in 4.0-36TLE::SHAMIMWed Apr 16 1997 12:595
    
    This problem is fixed in ladebug V4.0-36.
    
    shamim