Community
Participate
Working Groups
when debugging Javascript, for (some) functions information is shown when hovering over the source, but not for variables. I traced it down a little bit: getHoverInfo is called (instead of getHoverInfo2) because JavaEditorTextHoverProxy does not implement ITextHoverExtension2 Daemon Thread [Text Viewer Hover Presenter] (Suspended (breakpoint at line 43 in JavaScriptDebugHover)) JavaScriptDebugHover.getHoverInfo(ITextViewer, IRegion) line: 43 BestMatchHover.getHoverInfo(ITextViewer, IRegion) line: 99 JavaEditorTextHoverProxy.getHoverInfo(ITextViewer, IRegion) line: 67 TextViewerHoverManager$4.run() line: 168 --> the information is of type String The JavaScriptDebugHover also returns an IInformationControlCreator of type org.eclipse.wst.jsdt.debug.internal.ui.eval.ExpressionInformationControlCreator which creates an org.eclipse.wst.jsdt.debug.internal.ui.eval.ExpressionInformationControlCreator.ExpressionInformationControl This setInput method expects an object of type IVariable but the object is the object returned by getHoverInfo and is of type String. --> no hover-information shown