Hi guys
when I try to load MCSqueaksourceRepository location: 'http://squeaksource.com/Games' user: '' password: '' load MorphicGames-md.1.mcz I get a DNU isPostMortem "return whether we're inspecting a frozen exception without a process attached" |selectedContext| selectedContext := self selectedContext. (interruptedProcess suspendedContext == selectedContext) ifTrue: [ ^ false ]. ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil ^^^^^^ DNU findContextSuchThat: interruptedProcess suspendedContext is a MethodContext Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. Stef |
On Mar 6, 2012, at 12:08 PM, Stéphane Ducasse wrote: > Hi guys > > when I try to load > > MCSqueaksourceRepository > location: 'http://squeaksource.com/Games' > user: '' > password: '' > > load MorphicGames-md.1.mcz > > I get a DNU > > isPostMortem > "return whether we're inspecting a frozen exception without a process attached" > |selectedContext| > selectedContext := self selectedContext. > (interruptedProcess suspendedContext == selectedContext) > ifTrue: [ ^ false ]. > ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil > > ^^^^^^ DNU findContextSuchThat: > > > interruptedProcess suspendedContext is a MethodContext > > Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. > self class superclass selectors includes: #findContextSuchThat: -> true :( process stuff happening? > Stef |
In reply to this post by Stéphane Ducasse
On Mar 6, 2012, at 12:08 PM, Stéphane Ducasse wrote: > Hi guys > > when I try to load > > MCSqueaksourceRepository > location: 'http://squeaksource.com/Games' > user: '' > password: '' > > load MorphicGames-md.1.mcz > > I get a DNU > > isPostMortem > "return whether we're inspecting a frozen exception without a process attached" > |selectedContext| > selectedContext := self selectedContext. > (interruptedProcess suspendedContext == selectedContext) > ifTrue: [ ^ false ]. > ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil > > ^^^^^^ DNU findContextSuchThat: > > > interruptedProcess suspendedContext is a MethodContext > > Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. > This is related to the startup changes we integrated yesterday. (there is no change that has no side effect...) Marcus -- Marcus Denker -- http://marcusdenker.de |
In reply to this post by Stéphane Ducasse
what about to fix it this way:
isPostMortem "return whether we're inspecting a frozen exception without a process attached" |selectedContext suspendedContext | selectedContext := self selectedContext. suspendedContext := interruptedProcess suspendedContext. suspendedContext ifNil: [ ^ false ]. (suspendedContext == selectedContext) ifTrue: [ ^ false ]. ^ (suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil -- Pavel On Tue, Mar 6, 2012 at 12:08 PM, Stéphane Ducasse <[hidden email]> wrote: > Hi guys > > when I try to load > > MCSqueaksourceRepository > location: 'http://squeaksource.com/Games' > user: '' > password: '' > > load MorphicGames-md.1.mcz > > I get a DNU > > isPostMortem > "return whether we're inspecting a frozen exception without a process attached" > |selectedContext| > selectedContext := self selectedContext. > (interruptedProcess suspendedContext == selectedContext) > ifTrue: [ ^ false ]. > ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil > > ^^^^^^ DNU findContextSuchThat: > > > interruptedProcess suspendedContext is a MethodContext > > Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. > > Stef |
In reply to this post by Marcus Denker-4
On Tue, Mar 6, 2012 at 12:23 PM, Marcus Denker <[hidden email]> wrote:
> > On Mar 6, 2012, at 12:08 PM, Stéphane Ducasse wrote: > >> Hi guys >> >> when I try to load >> >> MCSqueaksourceRepository >> location: 'http://squeaksource.com/Games' >> user: '' >> password: '' >> >> load MorphicGames-md.1.mcz >> >> I get a DNU >> >> isPostMortem >> "return whether we're inspecting a frozen exception without a process attached" >> |selectedContext| >> selectedContext := self selectedContext. >> (interruptedProcess suspendedContext == selectedContext) >> ifTrue: [ ^ false ]. >> ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil >> >> ^^^^^^ DNU findContextSuchThat: >> >> >> interruptedProcess suspendedContext is a MethodContext >> >> Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. >> > > This is related to the startup changes we integrated yesterday. > > (there is no change that has no side effect...) > > Marcus > It does every Warning exception, for example: self notify: 'hello'. Strange that it was not reported by tests... -- Pavel > -- > Marcus Denker -- http://marcusdenker.de > > |
In reply to this post by Marcus Denker-4
>>
>> > > This is related to the startup changes we integrated yesterday. > > (there is no change that has no side effect…) sure change is life and life is dangerous we all die at the end. So if camillo/igor can have a look, it would be good. > One artist said: "life is a killer" |
In reply to this post by Pavel Krivanek-3
On Mar 6, 2012, at 12:29 PM, Pavel Krivanek wrote: > On Tue, Mar 6, 2012 at 12:23 PM, Marcus Denker <[hidden email]> wrote: >> >> On Mar 6, 2012, at 12:08 PM, Stéphane Ducasse wrote: >> >>> Hi guys >>> >>> when I try to load >>> >>> MCSqueaksourceRepository >>> location: 'http://squeaksource.com/Games' >>> user: '' >>> password: '' >>> >>> load MorphicGames-md.1.mcz >>> >>> I get a DNU >>> >>> isPostMortem >>> "return whether we're inspecting a frozen exception without a process attached" >>> |selectedContext| >>> selectedContext := self selectedContext. >>> (interruptedProcess suspendedContext == selectedContext) >>> ifTrue: [ ^ false ]. >>> ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil >>> >>> ^^^^^^ DNU findContextSuchThat: >>> >>> >>> interruptedProcess suspendedContext is a MethodContext >>> >>> Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. >>> >> >> This is related to the startup changes we integrated yesterday. >> >> (there is no change that has no side effect...) >> >> Marcus >> > > It does every Warning exception, for example: > > self notify: 'hello'. > > Strange that it was not reported by tests... > > -- Pavel Sounds a tiny bit like an error handler kept alive past its intended lifespan… + handling Error rather than UnhandledError, as used to be a problem in Announcement delivery too. ;) Cheers, Henry |
In reply to this post by Pavel Krivanek-3
right that should work...
forgot to update my fix for that one.. cami On 2012-03-06, at 12:25, Pavel Krivanek wrote: > what about to fix it this way: > > isPostMortem > "return whether we're inspecting a frozen exception without a process attached" > |selectedContext suspendedContext | > selectedContext := self selectedContext. > suspendedContext := interruptedProcess suspendedContext. > suspendedContext ifNil: [ ^ false ]. > (suspendedContext == selectedContext) > ifTrue: [ ^ false ]. > ^ (suspendedContext findContextSuchThat: [:c | c sender == > selectedContext]) isNil > > -- Pavel > > On Tue, Mar 6, 2012 at 12:08 PM, Stéphane Ducasse > <[hidden email]> wrote: >> Hi guys >> >> when I try to load >> >> MCSqueaksourceRepository >> location: 'http://squeaksource.com/Games' >> user: '' >> password: '' >> >> load MorphicGames-md.1.mcz >> >> I get a DNU >> >> isPostMortem >> "return whether we're inspecting a frozen exception without a process attached" >> |selectedContext| >> selectedContext := self selectedContext. >> (interruptedProcess suspendedContext == selectedContext) >> ifTrue: [ ^ false ]. >> ^ (interruptedProcess suspendedContext findContextSuchThat: [:c | c sender == selectedContext]) isNil >> >> ^^^^^^ DNU findContextSuchThat: >> >> >> interruptedProcess suspendedContext is a MethodContext >> >> Now I do not understand since find findContextSuchThat: is defined in ContextPart the super class of MethodContext. >> >> Stef > |
Free forum by Nabble | Edit this page |