[rspec-users] How to get stacktrace for extending Ruby in C

Scott Taylor scott at railsnewbie.com
Tue Apr 21 09:39:53 EDT 2009


Newb Newb wrote:
> Hi
>
> I extend ruby with C .
>
> i get error like segmentation fault when i call my client.rb
>
> how can i get the stacktrace ?
>   

You can use gdb to get a stack trace, as was documented by Mauricio, 
Jamis, and Why a while back.

Not sure what this has to do with rspec, though.

Scott

>
> Pls help me out
>
> Thanks
>   



More information about the rspec-users mailing list