Hi,
in Pharo 9-11, from the StDebugger you can access the debugged process using
self session interruptedProcess name
In the debugger class you can prepend that instruction in the window title update methods:
StDebugger>>initializeWindow: aWindowPresenter
super initializeWindow: aWindowPresenter.
aWindowPresenter
title: self session interruptedProcess name , ': '
, self debuggerActionModel statusStringForContext;
initialExtent: self initialExtent;
whenClosedDo: [ self clear ].
self initializeShortcuts: aWindowPresenter
StDebugger>>newTitle
^ self session interruptedProcess name , ': '
, self debuggerActionModel statusStringForContext
There is no other ways yet to customize the window title.
I do not know how to do it in prior versions of Pharo.
Steven.
Le 2022-04-26 10:45, Stewart MacLean a écrit :
Hi,I am working on a multi green and OS threaded implementation of Apple's Bonjour service discovery.I'd like to show the current Smalltalk process name in the Halt window title.Any clues are very much appreciated.Thanks,Stewart