🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #244

Debugger loses track of methods

#244
From: Lee Cooprider
Date: Mon, 14 Sep 1992 16:17
20 lines
1322 bytes
Using Gnu C++ Version 2.2.1 with GDB Version 4.5, I find that after my
application gets to a certain size (or contains a certain module?) I can no
longer set breakpoints at methods names.  All methods get a response like

	(gdb) break AddressSpace::getw
	(Cannot find method AddressSpace::getw(AddressSpace, unsigned int)
							 - possibly inlined.)
	The class AddressSpace does not have any method named getw

This is true of both inlined and non-inlined methods, and of methods compiled
with the -g flag.

If I find the method in the source, and set the breakpoint at the source line,
the breakpoint is correctly described as 'line N in foo::baz',
so the lookup works the other way.

Do I have a version skew problem?
-- 
Lee W. Cooprider				PP-ASEL/IA
Lee_Cooprider@vos.stratus.com			Skylane N2908F "Wiley"
Technical Details
Message-ID: <6347@transfer.stratus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!lll-winken!bu.edu!transfer!bluefuzz.sw.stratus.com!lee

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!lll-winken!bu.edu!transfer!bluefuzz.sw.stratus.com!lee
From: lee@bluefuzz.sw.stratus.com (Lee Cooprider)
Newsgroups: gnu.g++.help
Subject: Debugger loses track of methods
Message-ID: <6347@transfer.stratus.com>
Date: 14 Sep 92 16:17:29 GMT
Sender: usenet@transfer.stratus.com
Distribution: gnu
Organization: Stratus Computer, Software Engineering
Lines: 20