[Haskell-cafe] Debugging embedded ruby interpreter

Simon Marechal simon at banquise.net
Fri May 24 07:45:00 CEST 2013


On 05/22/2013 11:36 PM, Simon Marechal wrote:
> Anyone has an idea on how I should approach this problem ?

For future reference : I believe I have found the problem, and it was
quite obvious ...

When generating Ruby objects from Haskell, they are not referenced by
anything in the interpreter. This means they will be collected everytime
there is a GC run.

I now manually enable / disable / start GC, and things seem to work.



More information about the Haskell-Cafe mailing list