[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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message