>From the Test Runner. Click on "Run Coverage". Lukas
On Tue, Mar 31, 2009 at 8:37 PM, Stéphane Ducasse <[email protected]> wrote: > lukas how to you invoke the coverage for a test? > I tried with profiled and I got a DNU. > > Stef > > From: zork > To: [email protected] > Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #terminate > > here insert explanation of what you were doing, suspect changes you've > made and so forth. > > 31 March 2009 8:36:50 pm > > VM: Mac OS - a SmalltalkImage > Image: Pharo0.1 [Latest update: #10259] > > SecurityManager state: > Restricted: false > FileAccess: true > SocketAccess: true > Working Dir /Users/ducasse/Workspace/FirstCircle/ActiveResearch/Pharo/ > Pharo > Trusted Dir /foobar/tooBar/forSqueak/bogus > Untrusted Dir /Users/ducasse/Library/Preferences/Squeak/Internet/My > Squeak > > UndefinedObject(Object)>>doesNotUnderstand: #terminate > Receiver: nil > Arguments and temporary variables: > aMessage: terminate > exception: MessageNotUnderstood: > UndefinedObject>>terminate > resumeValue: nil > Receiver's instance variables: > nil > > [] in MessageTally>>spyEvery:on: {[SmalltalkImage current > getVMParameters keysAndValuesDo: [:idx :gcVal | gc...]} > Arguments and temporary variables: > millisecs: 1 > aBlock: [] in TestRunner>>runProfiled {[self runAll]} > myDelay: a Delay > startTime: 311391 > time0: 307811 > idx: 40 > gcVal: 4 > > BlockContext>>ensure: > Receiver: [] in TestRunner>>runProfiled {[self runAll]} > Arguments and temporary variables: > aBlock: nil > returnValue: a TestRunner > b: [] in MessageTally>>spyEvery:on: {[SmalltalkImage > current > getVMParameters ...etc... > Receiver's instance variables: > sender: nil > pc: nil > stackp: 0 > nargs: 0 > startpc: 31 > home: TestRunner>>runProfiled > > MessageTally>>spyEvery:on: > Receiver: TestRunner >> runProfiled > Arguments and temporary variables: > millisecs: 1 > aBlock: [] in TestRunner>>runProfiled {[self runAll]} > myDelay: a Delay > startTime: 311391 > time0: 307811 > idx: 40 > gcVal: 4 > Receiver's instance variables: > class: TestRunner > method: a CompiledMethod (1657) > tally: 3568 > receivers: an Array(TestRunner >> runAll > SystemProgressMorph >> > label:min:max: ...etc... > senders: nil > time: nil > gcStats: #(3672228 3627200 4333372 -1629 0 0 0 0 2511 > 917 47 0 0 0 > 0 0 0 0 0 0 ...etc... > maxClassNameSize: 30 > maxClassPlusSelectorSize: 60 > maxTabs: 60 > > > --- The full stack --- > UndefinedObject(Object)>>doesNotUnderstand: #terminate > [] in MessageTally>>spyEvery:on: {[SmalltalkImage current > getVMParameters keysAndValuesDo: [:idx :gcVal | gc...]} > BlockContext>>ensure: > MessageTally>>spyEvery:on: > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > MessageTally class>>spyOn: > TestRunner>>runProfiled > PluggableButtonMorphPlus(PluggableButtonMorph)>>performAction > PluggableButtonMorphPlus>>performAction > [] in PluggableButtonMorphPlus(PluggableButtonMorph)>>mouseUp: {[:m | > (m containsPoint: evt cursorPoint) ifTrue: [m performAction]]} > Array(SequenceableCollection)>>do: > PluggableButtonMorphPlus(PluggableButtonMorph)>>mouseUp: > PluggableButtonMorphPlus>>mouseUp: > PluggableButtonMorphPlus(Morph)>>handleMouseUp: > MouseButtonEvent>>sentTo: > PluggableButtonMorphPlus(Morph)>>handleEvent: > PluggableButtonMorphPlus(Morph)>>handleFocusEvent: > [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self. > ActiveEvent := anEvent. result := focusHolder han...]} > [] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]} > BlockContext>>on:do: > PasteUpMorph>>becomeActiveDuring: > HandMorph>>sendFocusEvent:to:clear: > HandMorph>>sendEvent:focus:clear: > HandMorph>>sendMouseEvent: > HandMorph>>handleEvent: > HandMorph>>processEvents > [] in WorldState>>doOneCycleNowFor: {[:h | ActiveHand := h. h > processEvents. ActiveHand := nil]} > Array(SequenceableCollection)>>do: > WorldState>>handsDo: > WorldState>>doOneCycleNowFor: > WorldState>>doOneCycleFor: > PasteUpMorph>>doOneCycle > [] in Project class>>spawnNewProcess {[[World doOneCycle. Processor > yield. false] whileFalse. nil]} > [] in BlockContext>>newProcess {[self value. Processor > terminateActive]} > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
