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 > <[email protected]> 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 >
