--- a/ReadEvalPrintLoop.st Mon May 07 12:27:25 2018 +0200
+++ b/ReadEvalPrintLoop.st Mon May 07 12:30:48 2018 +0200
@@ -425,7 +425,11 @@
(method := class compiledMethodAt:selector) isNil ifTrue:[
implClass := class whichClassImplements:selector.
implClass isNil ifTrue:[
- stderr nextPutLine:'no such method'.
+ (class isMeta not and:[(class theMetaclass whichClassImplements:selector) notNil]) ifTrue:[
+ stderr nextPutLine:('no such method (but on the class-side; try "%1 name")' bindWith:class name).
+ ] ifFalse:[
+ stderr nextPutLine:'no such method'.
+ ].
^ self.
].
(self askYesNo:('no such method in %1, but inherited from %2.\Add breakpoint there (y/n)?'