* Procedure breakpoints
@ 2011-10-12 18:07 Tobias Gerdin
2011-10-13 10:24 ` Andy Wingo
0 siblings, 1 reply; 3+ messages in thread
From: Tobias Gerdin @ 2011-10-12 18:07 UTC (permalink / raw)
To: guile-user
Hello,
Is there any way to attach traps to another executing thread from the
REPL? A use case would be to be able to trap procedures running in the
main thread when I connect to a Guile started with the --listen
option.
-Tobias
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Procedure breakpoints
2011-10-12 18:07 Procedure breakpoints Tobias Gerdin
@ 2011-10-13 10:24 ` Andy Wingo
2011-10-13 11:29 ` rixed
0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2011-10-13 10:24 UTC (permalink / raw)
To: Tobias Gerdin; +Cc: guile-user
On Wed 12 Oct 2011 20:07, Tobias Gerdin <tgerdin@gmail.com> writes:
> Is there any way to attach traps to another executing thread from the
> REPL? A use case would be to be able to trap procedures running in the
> main thread when I connect to a Guile started with the --listen
> option.
I have often wanted this, but unfortunately the answer is no; not right
now at least. You might be able to rig this up with signals, but that
sounds terrible (and possibly dangerous; Guile does have some
threading-related bugs currently).
Andy
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Procedure breakpoints
2011-10-13 10:24 ` Andy Wingo
@ 2011-10-13 11:29 ` rixed
0 siblings, 0 replies; 3+ messages in thread
From: rixed @ 2011-10-13 11:29 UTC (permalink / raw)
To: guile-user
Couldn't one use vm hooks to perform that?
I mean, a hook that's fed with a list of addresses where to stop if some
condition are met, and that would just wait for the condition to be
cleared before proceeding? Then one could alter these conditions from
another thread?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-13 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 18:07 Procedure breakpoints Tobias Gerdin
2011-10-13 10:24 ` Andy Wingo
2011-10-13 11:29 ` rixed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).