OAuth-Consumer ライブラリ、現在のデバッガ ID LLDB を使用する iPhone アプリを開発しています。次のメソッドを使用して署名を生成します。
-(NSString *)signClearText:(NSString *)text withSecret:(NSString *)secret
{
//it generates base64EncodedData and then returns it as a string
return base64EncodedResult;//this is line is executed successfully
}//when it reaches this line it again goes to the return statement and there app crashes
//with the gdb error
return ステートメントの直前に NSLog を使用すると、base64EncodeResult の値が正常に出力されます。
別のデバッガー GDB を試しましたが、アプリは「ロケーション 0xYYYYYYY のメモリにアクセスできません」というエラーでクラッシュします。
none debugger を試したとき、アプリはクラッシュしませんが、それ以上の実行は停止します...