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

Ben Mabey ben at benmabey.com
Wed Apr 22 00:41:24 EDT 2009


Newb Newb wrote:
> Scott Taylor wrote:
>   
>> 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
>>     
>
> thanks for the reply..
>
> I m running on  windows..
>
> so is it possible to use gdb on windows..
>   
http://hamsterrepublic.com/ohrrpgce/index.php/GDB_on_Windows.html

I'm sorry, but I couldn't resist...
http://tinyurl.com/dcz4b9

If I had more direct experience I would offer it. :)

-Ben


More information about the rspec-users mailing list