Today I noticed Preferences #serverMode. I've never used it, is this still useful?
I decided to try setting it in one of my servers to see if it had any effect on its performance.
Preferences serverMode "false" Preferences serverMode: true "DNU" Preferences setPreference: #serverMode toValue: true. "do it" Preferences serverMode "false. Huh?" Preferences setPreference: #serverMode toValue: true. "debug it"
In the debugger, select Into + Into + Through.
It works fine in the 4.5 image, but trunk locks up tightly.
It may be due to called code entering a critical: section but I'm not sure. Based on what Marcel described re: extending "Processor activeProcess" to return the effective process, is definitely a suspect..
This is a pretty bad regression from 4.5, because Mutexes are very common and so the image should could easily lock just by normal debugging activity..
Its only use is in WorldState >> interCyclePause: and should fix a freezing bug as described here: http://bugs.squeak.org/view.php?id=6581
Best, Marcel
-- View this message in context: http://forum.world.st/4-6-regression-stepping-Through-locks-the-image-solid-... Sent from the Squeak - Dev mailing list archive at Nabble.com.
squeak-dev@lists.squeakfoundation.org