On 09/11/2013 08:59, Holger Hans Peter Freyther wrote:
On Wed, Nov 06, 2013 at 11:43:56AM +0100, Gwenaël Casaccio wrote:

The patch is based on the master branch.
Thanks. I have applied it but there is still some failure in the
handling:


'1234' do: [:each | each ]   ALT+D
<F8>.... and you will reach BlockClosure>>#ensure:.. <F8> and now
it is broken. Pressing continue will bring the below warning. The
task queue is then stalled. E.g. no other debugging is possible.
Do you have time to fix that?

  error: Invalid value Process(nil at userSchedulingPriority, terminated): 
process has/was already terminated
SystemExceptions.ProcessTerminated(Exception)>>signal (ExcHandling.st:254)
SystemExceptions.ProcessTerminated class(SystemExceptions.InvalidValue 
class)>>signalOn: (SysExcept.st:416)
Process>>resume (Process.st:489)
[] in Debugger>>continue (DebugTools.star#VFS.ZipFile/DebugTools.st:276)
[] in Process>>onBlock:at:suspend: (Process.st:412)
BlockClosure>>on:do: (BlkClosure.st:196)
[] in Process>>onBlock:at:suspend: (Process.st:413)
BlockClosure>>ensure: (BlkClosure.st:271)
[] in Process>>onBlock:at:suspend: (Process.st:391)
[] in BlockClosure>>asContext: (BlkClosure.st:182)

I think I understand the issue the vm calls self primTerminate but the debugger is waiting for the semaphore (that will never be signaled) the primitive should signal the debugger semaphore if there is one. Paolo can you confirm ?

Gwen


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to