From: "Carlo E. Prelz" Date: 2012-10-29T19:32:53+09:00 Subject: Re: Marshal.load weird issue Subject: Re: Marshal.load weird issue Date: Mon 29 Oct 12 07:21:42PM +0900 Quoting Pierre J. (lists@ruby-forum.com): > Is there a way to "debug" Marshal? Could there be something that > explains the fact that it does not work properly the first time, and > correctly the second time? Could it be a memory allocation or something? If you compile your own ruby (not a difficult task, but then again, probably not your piece of cake if you dabble with complex ActiveRecord stuff...) Marshal is neatly included in file marshal.c, at the root of the distribution. 1971 lines of code. You can always run the Ruby interpreter under gdb, and/or add any sort of printout to follow what is happening. Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)