Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!oceania!rselph From: oceania!rselph@uunet.uu.net (Russell Selph) Newsgroups: comp.sys.next Subject: Re: gdb question Message-ID: <1991May5.185128.6309@oceania> Date: 5 May 91 18:51:28 GMT References: <614@capmkt.COM> Sender: rselph@oceania Organization: Oceania Healthcare Systems Lines: 32 In article <614@capmkt.COM> cc@capmkt.COM (Charlie Conklin) writes: > [stuff deleted] > Using the code in Examples/CalculatorLab++, when compiled with make debug, > when I gdb the resulting go.debug I get the following: > > (gdb) info selectors Keys > All selectors matching Keys: > mapped selector #7 = operationKeys: > [more stuff deleted] > (gdb) b operationKeys > Function or Selector operationKeys not found. > (gdb) > > What I do not understand is why I can "see" the selector > (defined in SimpleCalc.m) operationKeys, but cannot seem to set a > breakpoint on it. Yet I can successfully set a breakpoint on a section > of code contained in the method definition of operationKeys! > > Any enlightenment would be appreciated. > > Charlie Conklin > cc@capmkt.com The full name of a selector includes the ':' at the end. Try using (gdb) b operationKeys: -- +-----------------------------+ | Russell Selph | | oceania!rselph@uunet.uu.net | +-----------------------------+