[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

872.0. ""eg_b.cxx"`g12 is/isnt visible in current scope" by ADA9X::BRETT () Mon Mar 10 1997 10:45

% ladebug a.out
Welcome to the Ladebug Debugger Version 4.0-31

(ladebug) whereis g12
"eg_b.cxx"`g12

(ladebug) file eg_b.cxx

(ladebug) stop in g12
Symbol g12 not visible in current scope.  EXCEPT THAT TWO COMMANDS AGO
g12 has no valid breakpoint address	  YOU TOLD ME IT WAS!!!!
Warning: Breakpoint not set

(ladebug) print $lang
"C++"

(ladebug) stop in NNN::g12
[#1: stop in int NNN::g12(void) ]


% cat eg.h
class NNN { public:
    static int iii;
    static int g11();
    static int g12();
};

% cat eg_a.cxx
#include "eg.h"

int NNN::g11()
{
    return iii;
}

int main()
{
    NNN::g12();
    return 0;
}

% cat eg_b.cxx
#include "eg.h"

int NNN::iii;

int NNN::g12()
{
    return g11();
}

T.RTitleUserPersonal
Name
DateLines
872.1Added to C++ tracking listTLE::MERRITTSteve Merritt, Ladebug TeamFri Apr 18 1997 14:573
I added this to the C++ bugs list.

-Steve