[WV1.0] searchlight tooltip fails when method has no source

1 view
Skip to first unread message

Ernest M

unread,
Oct 4, 2009, 2:26:08 PM10/4/09
to WebVelocity
From the System Browser, the searchlight tool displays a list of
senders and implementors that match a selector pattern. If you move
the mouse over its results then a tooltip will show you the source of
that method.

However, CompiledMethod>>searchlightDisplaySnippet throws a DNU when
no source is available.
This happened to me because I had loaded a library without its source
(pst).

A workaround is to add the statement:

source isNil ifTrue:[^'- no source -'].

--
^ Ernest Micklei

Michael Lucas-Smith

unread,
Oct 4, 2009, 7:14:03 PM10/4/09
to webve...@googlegroups.com
Thanks. We'll make sure to integrate that fix.

2009/10/4 Ernest M <ernest....@gmail.com>
Reply all
Reply to author
Forward
0 new messages