Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!amdahl!dlb!megatest!djones From: djones@megatest.UUCP (Dave Jones) Newsgroups: comp.lang.c++ Subject: Re: debuggers Message-ID: <288@goofy.megatest.UUCP> Date: 24 Feb 88 19:39:25 GMT References: <7711@alice.UUCP> Organization: Megatest Corporation, San Jose, Ca Lines: 27 in article <7711@alice.UUCP>, bs@alice.UUCP says: > > [...] > > I think the proper approach is to have the debuggers understand the encoding > strategy so that they can allow the user to use simple names where > appropriate and use C++ language level disambiguation, such as ::i, where > needed. > Thanks for the reply. Of course what you suggest is not a two line hack. The filter that turns C++ names into the "mangled" C names would need to be rather sophisticated about lexical scope, I think. The reason I am pursuing this is that I am on a small campaign to get my cohorts here to use C++. I have encountered some resistance on the grounds that the debugger would be harder to use. I haven't had any trouble with it, but then I don't use debuggers much. I grew up before they were invented. If you couldn't hack the paper tape with a hole punch and masking tape ... Kids today ... pampered bunch of whining sissies .... grumble ... snort. Got to go now. I'm late for my Geritol. - Dave J.