Lively Kernel canvas
//
DraftObserveandLearn40true
Tracethebehaviorofobjectsandlearnhowtointeractwithit.20null
Wikicontroltruetrue
nullnullnullnullnullnull10000
nullnullnullnullnullnull1000
nullnullnullnullnullnull500
nullnullnullnullnullnull500
nullnullnullnullnullnull500
nullnullnullnullnullnull500
nullnullnullnullnullnull502936.0124364707845
nullnullnullnull503212.49162681735
nullnullnullnull50926.4623917000001
nullnull502457.0458672925743
nullnull501499.1880979500002
nullnull501340.33629
nullnull501726.869337688366
502758.7772829664414
502874.5625583724163
502973.11117316353
505846.09955670545TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(121.0,372.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(121.0,372.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(860.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(860.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(121.0,372.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(121.0,372.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(861.0,188.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,188.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,188.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(861.0,188.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseDown@pt(861.0,188.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,188.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,188.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(860.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(860.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,188.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,188.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(861.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(861.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseDown@pt(861.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,191.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(858.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(858.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(858.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(858.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(861.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(861.0,191.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(860.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(860.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(858.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(858.0,191.0)]TextMorph[windowrelated]name=testText]morphToGrabOrReceive[#<Event:MouseMove@pt(858.0,191.0)>,undefined,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(858.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(858.0,191.0)]TextMorph[mouseevents]name=testText]captureMouseEvent[#<Event:MouseMove@pt(858.0,191.0)>,undefined]TextMorph[layouting]name=testText]fullContainsWorldPoint[pt(860.0,191.0)]TextMorph[layouting]name=testText]fullContainsPoint[pt(860.0,191.0)]10, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(121.0,372.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(121.0,372.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,188.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,188.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,188.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,188.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,188.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,188.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,191.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(858.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(858.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(861.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(861.0,191.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(858.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(858.0,191.0)]\n TextMorph [window related] name=testText] morphToGrabOrReceive [#, undefined, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(858.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(858.0,191.0)]\n TextMorph [mouse events] name=testText] captureMouseEvent [#, undefined]\n TextMorph [layouting] name=testText] fullContainsWorldPoint [pt(860.0,191.0)]\n TextMorph [layouting] name=testText] fullContainsPoint [pt(860.0,191.0)]"]]>truetruefalse4980000
truetrue
false00.11
true
falsenull
true
nullfalsetruenull
falsenulltruefalse
Xfalsenulltrue
false
false
–falsenulltrue
false
falsenullfalsefalsenullnullnullnullfalse
ObjectTracer.installTraceCodeInAllCategoriesOfClass(Morph)ObjectTracer.installTraceCodeInAllCategoriesOfClass(TextMorph)//ObjectTracer.installTraceCodeInAllCategoriesOfClass(TextListMorph)//ObjectTracer.installTraceCodeInAllCategoriesOfClass(lively.scene.Shape)//ObjectTracer.installTraceCodeInAllCategoriesOfClass(lively.scene.Rectangle)$morph('DebugLog').setTextString('');m=newTextMorph(newRectangle(0,0,100,100),"Hello")m.openInWorld(this.getPosition().subPt(pt(0,100)),"testText")m.setWithLayers([ObjectTraceLayer])items=ObjectTracer.current().items;$morph('DebugLog').setTextString(items.slice(items.length-20,items.length).join('\n'));$morph('DebugLog').addScript(functionshowLastTraceItems(){varitems=ObjectTracer.current().items;this.setTextString(items.slice(items.length-50,items.length).join('\n'));})$morph('DebugLog').showLastTraceItems();$morph('DebugLog').startStepping(50,"showLastTraceItems")//$morph('DebugLog').stopStepping(50,"showLastTraceItems")14
3
Hello
pressCMD+Sinworkspacetoevalit..13
null108