chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Debugging running code


From: Jim Ursetto
Subject: Re: [Chicken-users] Debugging running code
Date: Tue, 4 Jan 2011 21:20:40 -0600

Forgot to copy the list.
Also, you could use the trace egg to create breakpoints from which you can 
continue, but I am unaware if there is a way to do so on the fly.  It seems to 
me that you could override the user interrupt hook to signal a breakpoint 
condition on control-c, rather than abort.  Maybe someone else has the answer.

On Jan 4, 2011, at 21:04, Jim Ursetto <address@hidden> wrote:

> Tim,
> One option is to (use posix). This will install an interrupt handler which 
> traps control-c, aborting the current computation and returning you to the 
> REPL.  You cannot continue the computation, however.
> Jim
> 
> On Jan 4, 2011, at 13:51, Tim Lavoie <address@hidden> wrote:
> 
>> Hello,
>> 
>> Is there a way to interrupt and inspect scheme code which is currently
>> running in Chicken? I'm more used to Common Lisp environments so far,
>> and am used to being able to C-c to get to a REPL, look around, continue
>> and so on. This clobbers the chicken interpreter entirely, but it's
>> quite possible I'm just missing the correct way to temporarily interrupt
>> processing.
>> 
>> Cheers,
>> Tim
>> 
>> _______________________________________________
>> Chicken-users mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/chicken-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]