Mail Archives: djgpp/1998/03/03/08:29:33
Dan <dyoon AT home DOT com> 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
- Raw text -