🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Lee Cooprider Mon, 14 Sep 1992 16:17
Debugger loses track of methods
#244
Author: 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"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads