[gambit-list] Help With Memory
Joel J. Adamson <adamsonj@email.unc.edu>
adamsonj at email.unc.edu
Thu Sep 25 15:47:52 EDT 2008
>>>>> "MF" == Marc Feeley <feeley at iro.umontreal.ca> writes:
MF> On 22-Sep-08, at 3:26 PM, Joel J. Adamson wrote:
>> Getting the code ================
>>
>> The code is available for public download from svn at
>>
>> http://chondestes.bio.unc.edu/svn/models/agjones
MF> The following code is rather odd
This is exactly why I'm offering my code for review ;)
MF> What are you trying to accomplish?
My thinking was that the exception that causes the exception should be a
noncontinuable exception and that I would want to enter the debugger at
that point. I hope your question isn't asking me to defend my code ;)
I'm learning this by trial-and-error and
kind-review-by-people-who-know-way-more-than-me. I would much prefer
that you tell me I'm dead wrong and doing it all wrong.
MF> I suggest you use this instead, to determine if it is causing
MF> your problem:
MF> (define (mem-handler exc) (display-exception exc) (exit 1))
The problem happens regardless of whether the exception catcher is in
effect.
Thanks,
Joel
--
Joel J. Adamson
University of North Carolina at Chapel Hill
CB #3280, Coker Hall
Chapel Hill, NC 27599-3280
Before you reply to this email, please read
http://www.unc.edu/~adamsonj/email-howto.html
More information about the Gambit-list
mailing list