[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 5.1alpha count and line hook
- From: Jan Kratochvíl <jan.kratochvil@...>
- Date: Sun, 30 Oct 2005 09:31:12 +0100
Yes, it is not quite common. But i am trying (succesfully so far) make
preemptive multithreading using coroutines and yielding in count hook
after given time. Plus I am writing debugger which uses line hooks.
Turning the debugger off is mostly about not registering line hooks
(call & return as well) so it is comfortable for me to have both hooks.
i experienced strange behaviour with lua 5.1 alpha using count hooks
and line hooks together. Sometimes i didn't get the line hook
Actually we never thought that someone could use both hooks together...
Removing this return fixed my problem. But is it safe to do?
It seems to be (although some tests would improve my confidence).
After some tests it looks functional. At least i didn't spot any side
effect. Can you fix it in future releases, please?
Thanks for your time,