[squeak-dev] The Inbox: Tools-ct.1146.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Thu May 5 18:20:04 UTC 2022


Hi Marcel,


thanks, merged with an explanation in the version message.


I wonder whether we should allow debugging and stopping even more processes that are not critical for the system, e.g., the sound player or the CPU watcher. What do you think? :-)


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Freitag, 8. April 2022 10:05:06
An: squeak-dev
Betreff: Re: [squeak-dev] The Inbox: Tools-ct.1146.mcz

Hi Christoph --

Can you explain why this is not a problem (anymore)? :-) What could still go wrong?

+1

Best,
Marcel

Am 02.04.2022 18:43:52 schrieb commits at source.squeak.org <commits at source.squeak.org>:

A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.1146.mcz

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

Name: Tools-ct.1146
Author: ct
Time: 2 April 2022, 6:43:17.222896 pm
UUID: 2dd18343-a81d-a142-a2b8-382364160052
Ancestors: Tools-ul.1145

Makes it possible to debug the inactive Morphic UI process from the process browser. Adds #selectedProcess convenience.

=============== Diff against Tools-ul.1145 ===============

Item was changed:
----- Method: ProcessBrowser class>>registerWellKnownProcesses (in category 'class initialization') -----
registerWellKnownProcesses
"Associate each well-known process with a nickname and two flags: allow-stop, and allow-debug.
Additional processes may be added to this list as required"

WellKnownProcesses := OrderedCollection new.
self registerWellKnownProcess: []
label: 'no process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Smalltalk lowSpaceWatcherProcess]
label: 'the low space watcher'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [WeakArray runningFinalizationProcess]
label: 'the WeakArray finalization process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Processor activeProcess]
label: 'the UI process'
allowStop: true
allowDebug: true.
self registerWellKnownProcess: [Processor backgroundProcess]
label: 'the idle process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Sensor interruptWatcherProcess]
label: 'the user interrupt watcher'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Sensor eventTicklerProcess]
label: 'the event tickler'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Project uiProcess]
label: 'the inactive Morphic UI process'
allowStop: true
+ allowDebug: true.
- allowDebug: false.
" self registerWellKnownProcess:
[Smalltalk at: #SoundPlayer ifPresent: [:sp | sp playerProcess]]
label: 'the Sound Player'
allowStop: false
allowDebug: false."
self registerWellKnownProcess:
[ScheduledControllers ifNotNil: [ScheduledControllers activeControllerProcess]]
label: 'the inactive MVC controller process'
allowStop: false
allowDebug: true.
self registerWellKnownProcess:
[Smalltalk at: #CPUWatcher ifPresent: [:cw | cw currentWatcherProcess]]
label: 'the CPUWatcher'
allowStop: false
allowDebug: false
!

Item was added:
+ ----- Method: ProcessBrowser>>selectedProcess (in category 'accessing') -----
+ selectedProcess
+
+ self processListIndex = 0 ifTrue: [^ nil].
+ ^ self processList at: self processListIndex!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220505/e1295728/attachment.html>


More information about the Squeak-dev mailing list