[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-dev
Subject:    [squeak-dev] The Trunk: Kernel-ct.1546.mcz
From:       commits () source ! squeak ! org
Date:       2024-02-25 19:52:17
Message-ID: 20240225195229.917A65840DF () mail ! squeak ! org
[Download RAW message or body]

Christoph Thiede uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ct.1546.mcz

==================== Summary ====================

Name: Kernel-ct.1546
Author: ct
Time: 30 December 2023, 8:52:22.257665 pm
UUID: 0c54d495-74a1-cd4e-8c0f-f95dec89f2a1
Ancestors: Kernel-ct.1545

In the debugger/simulator, fixes stepping through #mustBeBoolean errors and \
restarting from primitive methods that no longer fail. There is no need to throw up \
another debugger here. Just continue with the new context, and the client (i.e., the \
debugger) must honor the answer of #stepToSendOrReturn.

=============== Diff against Kernel-ct.1545 ===============

Item was changed:
  ----- Method: Context>>stepToSendOrReturn (in category 'system simulation') -----
  stepToSendOrReturn
  	"Simulate the execution of bytecodes until either sending a message or 
  	 returning a value to the receiver (that is, until switching contexts)."
  
  	| ctxt |
  	[self willReallySend or: [self willReturn or: [self willReallyStore]]] whileFalse:
  		[ctxt := self step.
  		 ctxt == self ifFalse:
+ 			["Caused by mustBeBoolean handling or callPrimitive:"
+ 			 ^ctxt stepToSendOrReturn]]!
- 			[self halt. 
- 			 "Caused by mustBeBoolean handling"
- 			 ^ctxt]]!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic