Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: dyoon AT home DOT com, djgpp AT delorie DOT com Date: Tue, 3 Mar 1998 10:39:04 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Rhide Debugger In-reply-to: <34FB36D1.5803@home.com> Precedence: bulk Dan wrote: > I've been trying to use the debugger in rhide but can't seem to get it > to work. First i tried debugging without the -g switch, Bad start ;-)) > so i got a > message saying that there was no useable debugging information and that > i should try using the -g switch. So i tried doing that but still > nothing happens. When i try to set a breakpoint by pressing ctr-f8, i > get the following message. > > "the selected breakpoint is invalid, probably this file is not compiled > with debugging information or for this line is no code generated. > (breakpoint at line 63 in file blaster.cpp " > > Now, someone told me that i can't set the -s switch together with the -g > switch, Of course you can't say: include debug info, but then put away it. > so i'm guessing that maybe this is my problem. but I have no > idea how to check if i have this switch on, If you never put it in your project I can bet it's off. You can check it with: Options|Enviroment|Preferences|show process information and just look if the flag is included when RHIDE calls to gcc. > and if it is on, i don't > know how to turn it off. If anyone could please help me out I would > really appreciate it. Did you recompiled ALL the project after adding -g? To check if your code have or not debug info just look the size and then run strip XXXX and check the size again if the size was reduced the program allready had debug info, so recompile again and try putting the breakpoint in other line. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013