TestBrowser freezes - how to debug
Ned Konz
ned at bike-nomad.com
Mon Mar 31 20:19:00 UTC 2003
On Monday 31 March 2003 11:46 am, Martin Drautzburg wrote:
> Ned Konz <ned at bike-nomad.com> writes:
>
> It loops around:
>
> PluggabeTextMorph>>extent:
> PluggableTextMorph(ScrollPane)>>extent:
> PluggableTextMorph(ScrollPane)>>setScrollDeltas
> PluggableTextMorph(ScrollPane)>>hideOrShowScrollBar
> PluggableTextMorph(ScrollPane)>>showScrollBar
> PluggableTextMorph>>resetExtent
> PluggableTextMorph>>extent:
>
> The full walkback is on http://minnow.cc.gatech.edu/squeak/3146
>
> One thing I don't understand is when I evaluate "submorphs
> includes: scrollBar" from the walkback I get a "true". But
> obviously showScrollBar did not return though.
>
> showScrollBar
> (submorphs includes: scrollBar)
> ifTrue: [^ self].
> self resizeScrollBar.
> self privateAddMorph: scrollBar atIndex: 1.
> "scrollBar changed."
> retractableScrollBar
> ifFalse: [self resetExtent]
By the time the debugger has come up, you've managed to re-draw the
world.
Hmm.. Have you tried adding "super initialize" to
TestBrowser>>initialize? This would make the contents be an empty
string (rather than nil); I don't know if that matters.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|