On Tue, Feb 2, 2016 at 4:24 PM, Nicolai Hess <nicolaihess@gmail.com> wrote:
Anyone working with GTInspector and inspecting "pointers to" (menu Item "Open pointers to"). Either I make something wrong or it just does not work. The only references I can see in this pointer inspector are the references *from* the inspector itself.
I put an EllipseMorph in a Morph and choosed "Open Pointers to" in the inspector of the EllipseMorph. I would expect something like EllipseMorph <- array (submorphs) <- Morph
But instead I only see this:
I agree it seems really hard to chase pointersTo. Doing "EllipseMorph new openInWorld. World inspect." I can see the EllipseMorph in the "submorphs" ivar at (for me) array item 4. In the raw tab, right-clicking on item 4 > Open Pointers To, I would hope to see the WorldMorph its not there. Now in the WorldMorph, right-clicking on "submorphs" > Open Pointers To at item 3 (for me) shows... "an Array [40 items] ( nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil 'self'->a WorldMorph(562956288) [world] #backgroundMorph->nil #borderColor->(Color r: 0.861 g: 1.0 b: 0.722 alpha: 1.0) #borderWidth->0 #bounds->(0@0) corner: (1920@1172) #color->(Color r: 0.937 g: 0.937 b: 0.937 alpha: 1.0) #extension->a MorphExtension (287899392) [other: (dragEnabled -> true) (dropEnabled -> true) (lastKeystroke -> '<down>') (kmDispatcher -> a KMDispatcher)] #fullBounds->(0@0) corner: (1920@1172) #griddingOn->nil #osWindow->nil #owner->nil #session->nil #submorphs->an Array(a TaskbarMorph(804941056) a GLMSystemWindow(9541632) a GLMSystemWindow(614298112) an EllipseMorph(763635712) an ImageMorph(342771456)) #worldState->a WorldState nil nil nil nil nil nil nil)" ...so WorldMorph's ivars start at item 21, with its self at item 20. Strange? Another thing, World > Tools > Finder > Source > "Open pointers to" lists only two locations. Inserting a "self halt" at both locations like this selectionAct: [:list | self halt. ((list selection pointersToExcept: { list selection }) reject: [ :each | each pointsOnlyWeaklyTo: list selection ]) inspect ] on: $t entitled: 'Open pointers to' would I expect trigger a debugger when I invoke the menu item, but it doesn't, wtf??? cheers -ben