[squeak-dev] The Trunk: Kernel-jar.1473.mcz
Christoph.Thiede at student.hpi.uni-potsdam.de
Sun Jun 12 14:18:06 UTC 2022
I would argue that it be a better idea to make the process browser more robust with regard to invalidations of this kind. At least, the process browser is scanning all Process instances in the image. When I create some stub objects/degenerated processes through SimulationStudio, I'm also confused that the process browsers fails to display anything afterward.
Anyway, thank you for fixing this, Jaromir! :-)
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Donnerstag, 9. Juni 2022 10:15:25
An: squeak-dev at lists.squeakfoundation.org; packages at lists.squeakfoundation.org
Betreff: [squeak-dev] The Trunk: Kernel-jar.1473.mcz
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
==================== Summary ====================
Time: 31 May 2022, 11:31:14.576719 pm
Fix a bug causing an endless stream of error windows poping up when debugging e.g.
when Process Browser is open with auto-update on.
Once the suspendedContext is set, the new process is no longer considered terminated and Process Browser will try to place it in its list of processes but encounters a nil error when reading its priority because it has not been set yet.
=============== Diff against Kernel-mt.1472 ===============
Item was changed:
----- Method: Process class>>forContext:priority: (in category 'instance creation') -----
forContext: aContext priority: anInteger
+ "Answer an instance of me that has suspended aContext at priority anInteger.
+ It's important to set the priority before setting the suspendedContext; otherwise
+ an endless stream of error windows will start poping up when debugging e.g.
+  newProcess
+ when Process Browser is open with auto-update on."
- "Answer an instance of me that has suspended aContext at priority
| newProcess |
newProcess := self new.
- newProcess suspendedContext: aContext asContext.
newProcess priority: anInteger.
+ newProcess suspendedContext: aContext asContext.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev