I have a C extension, I use Rakefile with extconf.rb, mkmf, rspec, etc.
I have SEGV’s in my C extension and I need to debug the C code.
I am on a Mac.
Does anyone have any instructions on how to spin up Xcode with a rspec
test, and be able set breakpoints in C code?
GDB instructions would be tolerable if that’s all we have at our
fingertips.
Brute force with printf is not working for me.
Bob