On Sun, Jan 26, 2014 at 09:15:14PM +0100, Holger Hans Peter Freyther wrote: > On Mon, Oct 21, 2013 at 11:29:06AM +0200, Gwenaël Casaccio wrote: > > > + method := context receiver class >> context method selector. > > and I think "context receiver class >> context method selector" will > not work for receiver being "Integer" and method being halt. I think > you need to use >>#lookupSelector: here.
appears to do the trick. diff --git a/packages/debug/DebugTools.st b/packages/debug/DebugTools.st index 2125cc6..4d06c69 100644 --- a/packages/debug/DebugTools.st +++ b/packages/debug/DebugTools.st @@ -150,7 +150,7 @@ pointer bytecodes to line numbers.'> context isBlock ifTrue: [ context outerContext isNil ifTrue: [ ^ self ]. context := context outerContext ]. - method := context receiver class >> context method selector. + method := context receiver class lookupSelector: context method selector. newContext := MethodContext new: method stackDepth. _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk