[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
Thanks Norbert - I was meaning how to show it in the title of the Debugger for when I get a lot of debuggers on different processes. Please see Steven Costiou's solution. Cheers, Stewart On Tue, Apr 26, 2022 at 9:57 PM Norbert Hartl wrote: > Try > > Processor activeProcess name > > regards,

[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
Thanks Steven - exactly what I needed to know! Cheers, Stewart On Tue, Apr 26, 2022 at 10:08 PM Steven Costiou wrote: > 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

[Pharo-users] [ANN] docker-pharo-runtime v10.0.0-1.0.0 [v10.0.0 + 1.0.0] released!

2022-04-26 Thread Buenos Aires Smalltalk
docker-pharo-runtime, docker image for Pharo reached it's v10.0.0-1.0.0 version. Changelog Docker image for running a headless Pharo Image on top of Pharo VM 9.0.14. Pharo version Pharo-10.0.0+build.512.sha.bfb3a61094b9b7409b265d3f15a3d126b4ef597c (64 Bit) VM: v9.0.14 - Commit: 93600e1 - Date:

[Pharo-users] Re: A question about #beginsWith: and #endsWith:

2022-04-26 Thread Steffen Märcker
Maybe I should add an example. Consider the following natural proposition: > (A, B) beginsWith: A and: [(A, B) endsWith: B] This breaks for A := '' or B := '' ". Best, Steffen Kasper Osterbye schrieb am Dienstag, 26. April 2022 14:50:51 (+02:00): I have now raised it as an issue on the

[Pharo-users] Re: A question about #beginsWith: and #endsWith:

2022-04-26 Thread Richard O'Keefe
I discovered that my own code-base was inconsistent due to sometimes following Pharo and sometimes not. I've just spent the last day making it consistent and you would not BELIEVE how many methods suddenly became simpler. I finally understood why some of the test cases I had for XPath were

[Pharo-users] Re: A question about #beginsWith: and #endsWith:

2022-04-26 Thread Kasper Osterbye
I have now raised it as an issue on the issue tracker Issue #11165 in https://github.com/pharo-project/pharo/issues/11165 Best, Kasper > On 26 Apr 2022, at 12.11, Steffen Märcker

[Pharo-users] Re: A question about #beginsWith: and #endsWith:

2022-04-26 Thread Steffen Märcker
I can only fully agree to Richard's explanation. Also, not having the empty string pre/suf-fixing every string breaks the free monoid that describes concatenation of strings and forms the basis of regular expressions. In effect, this will lead to subtle inconsistencies. Hence, I consider this a

[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Steven Costiou
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:

[Pharo-users] Re: How to show the process name in the debugger?

2022-04-26 Thread Norbert Hartl
Try Processor activeProcess name regards, Norbert > Am 26.04.2022 um 10:45 schrieb Stewart MacLean : > > 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

[Pharo-users] How to show the process name in the debugger?

2022-04-26 Thread Stewart MacLean
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