[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

280.0. "Referencing F90 internal procedures" by NETRIX::"[email protected]" (David LaFrance-Linden) Fri Jul 28 1995 16:37

T.RTitleUserPersonal
Name
DateLines
280.1overloaded menu may doUHUH::MURRAYWanfang MurrayFri Aug 04 1995 07:4111
280.2But what about F90 data?NETRIX::"[email protected]"David LaFrance-LindenFri Aug 04 1995 12:3119
280.3TLE::LUCIAhttp://asaab.zko.dec.com/~lucia/biography.htmlMon Apr 28 1997 11:5853
    With regards to #5 in .0, 'foo' is only visible while that block is
    active.  I.e.:
    
    (ladebug) run
    [1] stopped at [void main(void):5 0x120001c90]
          5     int zowie = 0;
    (ladebug) whereis foo
    "l280.cxx"`main`foo
    "l280.cxx"`main`foo
    (ladebug) which foo
    Symbol not found in current scope
    (ladebug) n
    stopped at [void main(void):7 0x120001c94]
          7     if (zowie) {
    (ladebug) 
    stopped at [void main(void):13 0x120001cd4]
         13         foo = -128;
    (ladebug) 
    stopped at [void main(void):14 0x120001ce0]
         14         cout << foo << endl;
    (ladebug) which foo
    "l280.cxx"`main`foo
    (ladebug) print foo
    -128
    (ladebug) whatis foo
    int foo
    (ladebug) c
    -128
    Process has exited with status 0
    (ladebug) W
          1 #include <iostream.h>
          2 
          3 void main()
          4 {
          5     int zowie = 0;
          6 
          7     if (zowie) {
          8         static int foo;
          9         foo = 12;
         10         cout << foo << endl;
         11     } else {
         12         static int foo;
         13         foo = -128;
         14         cout << foo << endl;
         15     }
         16 }
         17 
    (ladebug) 
    
    The overload menu, or a complete function signature, takes care of #1.
    
    #2, #3, #4 and #6 are still open.