Debugging possible bug

Niko Schwarz at
Sun Jan 5 19:39:50 UTC 2003

Hash: SHA1

Am Sonntag, 5. Januar 2003 20:10 schrieb Boris Gaertner:

> > JabberXMLReader(ProtoObject)>>doesNotUnderstand:
> The instance of  JabberXMLReader inherited the
> method  doesNotUnderstand:  from  ProtoObject!

Hmm, I fooled around and saw it needs some other classes too, it does not want 
the default xml classes but the exolab xml parser, which overlaps with the 
default xml class about class names.
Maybe that's why filing in didn't tell me, or I didn't notice, at least the 
class it inherets from wasn't there, so it must have chosen ProtoObject 

> The method  Inspector>>selection  uses a few methods
> that all subclasses of Object understand (namely:
> longPrintString, class basicAt: instVarAt:) 

That makes sense, and now I kicked the default xml stuff, installed exolab, 
re-filed-in my Jabber stuff and this problem is solved.

I still find weird that selectionIndex was set to 0, it doesn't make a lot of 
sense to me. I can reproduce it too: All you need to do is create a subclass 
of ProtoObject like this:

'From Squeak3.4alpha of ''11 November 2002'' [latest update: #5125] on 5 
January 2003 at 8:36:57 pm'!
ProtoObject subclass: #ProtoTest
	instanceVariableNames: 'vari '
	classVariableNames: ''
	poolDictionaries: ''
	category: 'LP-Utilities-XMLParser'!

!ProtoTest methodsFor: 'as yet unclassified' stamp: 'NES 1/5/2003 20:35'!
	vari _ nil.
     self halt.
     ^ self! !

Then debugging it, you middle-click on vari and get another debugger, and 
there selectionIndex is 0.

> Greetings, Boris

Thank you again, I just hope it doesn't get too buggy :-)



- -- 
"God gives burdens; also shoulders"

Jimmy Carter cited this Jewish saying in his concession speech at the
end of the 1980 election.  At least he said it was a Jewish saying; I
can't find it anywhere.  I'm sure he's telling the truth though; why
would he lie about a thing like that?
		-- Arthur Naiman, "Every Goy's Guide to Yiddish"
Version: GnuPG v1.2.1 (GNU/Linux)


More information about the Squeak-dev mailing list