update on tracking down that 64 linux morphic bug...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
tty
Reply | Threaded
Open this post in threaded view
|

update on tracking down that 64 linux morphic bug...

tty
Methodology.

Go to http://source.squeak.org/trunk/ and update up to  update-mt.353

Everything looks fine.

Select update-mt.354 and Browse it.

The packages that have updates are in bold.

Update each one of these except for  Tools-mt.684  and test debugger. Works.

Load Tools-mt.683 and test debugger. Works.

Load Tools-mt.684 and test debugger. Bug appears.

Tools-mt.684 changes show one method updated:

Debugger>>buildFullWith: builder.

Very minor looking changes are made...

Help becomes HelpItem and some changes in the frame coordinates.
        frame: (0 @ 0.22 corner: 1 @ 0.22). 
        frame: (0 @ 0.22 corner: 1 @ 0.8).



Manually reverting the Debugger>>buildFullWith method does not fix the error.

thoughts?





Reply | Threaded
Open this post in threaded view
|

Re: update on tracking down that 64 linux morphic bug...

marcel.taeumel
Hi Timothy,

I don't see any changes in the frame coordinates. The code lines just got moved down a bit.

buildFullWith: builder
        | windowSpec listSpec textSpec |
        windowSpec := builder pluggableWindowSpec new
                model: self;
                label: 'Debugger';
                children: OrderedCollection new.

        listSpec := builder pluggableListSpec new.
        listSpec
                model: self;
                list: #contextStackList;
                getIndex: #contextStackIndex;
                setIndex: #toggleContextStackIndex:;
                menu: #contextStackMenu:shifted:;
                icon: #messageIconAt:;
                helpItem: #messageHelpAt:;
                keyPress: #contextStackKey:from:;
                frame: (0@0 corner: 1@0.22).
        windowSpec children add: listSpec.


        textSpec := self buildCodePaneWith: builder.
        textSpec frame: (0@0.22corner: 1@0.8).
        windowSpec children add: textSpec.

        listSpec := builder pluggableListSpec new.
        listSpec
                model: self receiverInspector;
                list: #fieldList;
                getIndex: #selectionIndex;
                setIndex: #toggleIndex:;
                menu: #fieldListMenu:;
                keyPress: #inspectorKey:from:;
                frame: (0@0.8 corner: 0.2@1);
                help: 'Receiver''s\Instance\Variables' withCRs.
        windowSpec children add: listSpec.

        textSpec := builder pluggableTextSpec new.
        textSpec
                model: self receiverInspector;
                getText: #contents;
                setText: #accept:;
                help: '<- Select receiver''s field' translated;
                selection: #contentsSelection;
                menu: #codePaneMenu:shifted:;
                frame: (0.2@0.8 corner: 0.5@1).
        windowSpec children add: textSpec.

        listSpec := builder pluggableListSpec new.
        listSpec
                model: self contextVariablesInspector;
                list: #fieldList;
                getIndex: #selectionIndex;
                setIndex: #toggleIndex:;
                menu: #fieldListMenu:;
                keyPress: #inspectorKey:from:;
                frame: (0.5@0.8 corner: 0.7@1);
                help: 'Other\Context\Bindings' withCRs.
        windowSpec children add: listSpec.

        textSpec := builder pluggableTextSpec new.
        textSpec
                model: self contextVariablesInspector;
                getText: #contents;
                setText: #accept:;
                help: '<- Select context''s field' translated;
                selection: #contentsSelection;
                menu: #codePaneMenu:shifted:;
                frame: (0.7@0.8 corner: 1@1).
        windowSpec children add: textSpec.

        ^builder build: windowSpec

Best,
Marcel
tty
Reply | Threaded
Open this post in threaded view
|

Re: update on tracking down that 64 linux morphic bug...solved.

tty
Hi Marcel and Levente

Interestingly, the problem was in Rectangle

(0.7@0.8) corner: 1.0@1.0  , when evaluated would change the Y coordinate (!) and would store things like 0.7@0.7


The problem is my home-built vm; I used a prebuilt from http://www.mirandabanda.org/files/Cog/VM/latest/cogspur64linuxht-16.21.3732.tgz
And the problem goes away.

I am going to do a fresh compile and see what happens.

I HOPE (crosses fingers) that I don't have a build system issue.

Thanks for your help.






--
View this message in context: http://forum.world.st/update-on-tracking-down-that-64-linux-morphic-bug-tp4899104p4899141.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.