Steps to reproduce:
- Prepare your Etoys image as described
here
- Download
MorphLayoutArticle.pr and drag it into your image
- Debug the first warning that is documented here:
Expected behavior:
The debugger expands and the context is selected in which the warning has been raised.
Actual behavior:
The invariant contextSourcePcIndex between: 0 and: context method getSource size is violated.
context method getSource returned:
'notify: t1
Warning signal: t1'
context method is:
Object>>#notify: and it is installed!
I also discovered that something with the sources file is wrong in the etoys image. I had never to work with this deprecated mechanism and wonder why it is still used in Etoys.
Just to clarify: The following screenshot has been recorded in a #19282 image after activating etoys station:
(Dialog
window appeared when pressing the versions button)
However, a regular Trunk image has the following definition:
Is this desired behavior?
I could fix the current bug in context-dependent styling by limiting contextSourcePcIndex to context method getSource size. But I rather think we have a problem with the sources file here?
Any help or explanations are appreciated!
Best,
Christoph
Carpe Squeak!