Are there any warning messages in the Commands view when the .so debug info is loaded? You should be able to debug a release build as long as the code is compiled with '-g' and the resulting .so has not been stripped or debug info (by '-s' or 'strip').