I'm trying to compile Ruby from source with debugging symbols. I am not using rbenv
or rvm
, etc.
I have already tried
./configure optflags="-O0" debugflags="-g3 -ggdb"
To no avail :( (the debugger claims it has no symbols)
Thanks!
I figured it out in the end, you do this:
CFLAGS="-O0 -ggdb" ./configure
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With