Community
Participate
Working Groups
The default implementation of AbstractDebugTextHover.getExpressionText() return null if no parsing information is available. In this case it should fall back to the text marked by the hoverRegion.
Created attachment 185045 [details] Fix This addresses also a few other issues: - selected expression were not handled properly - simple assignments were not filtered out
Created attachment 185060 [details] Committed fix This also takes into account an expression in code which is (incorrectly) marked as inactive.
Fixed in 7.0.2 and HEAD.
*** cdt cvs genie on behalf of aleherbau *** Bug 332191 - Expression text hover should use fallback if no parsing information is available [*] AbstractDebugTextHover.java 1.5.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/editors/AbstractDebugTextHover.java?root=Tools_Project&r1=1.5.2.1&r2=1.5.2.2 [*] AbstractDebugTextHover.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/editors/AbstractDebugTextHover.java?root=Tools_Project&r1=1.6&r2=1.7