[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux ddd debugger for C
Shachar Shemesh wrote:
>
> You need to compile the program with debug info. I think the option is "-g".
>
> You also probably don't want to use optimizations on debug code.
>
you can use optimisations, however, you"ll want to understand optimisations
techniques to debug optimised code.
using optimismation levels of 1 and 2 is ok, but further optimisations
are really
changing your code.
On the other hand, it is quite useful to use debugger on optimised code
to understand
_optimisations_ ...
--
--
Omer Mussaev 051-308-214 mailto:omerm@mercury.co.il
systems programmer, Mercury Interactive/RND/Conduct/core
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il