Community
Participate
Working Groups
Build ID: 3.3 M6 Steps To Reproduce: In JDIModelPresentation.getVariableText(IJavaVariable var), the text is created by combining the variable name, a '=' character and the value text. However, if the variable name has a space in it, all text before the last space character (' ') is removed from the label. This is preventing the use of more descriptive names for inline references. It is unclear why removing anything before the space is necessary. More information:
We should remove this code... I cannot see a case where a variable name would have a space in it. As well, it looks like it accounts for a case where a variable name includes type information and we are trimming it off... but looking at our code I do not see this case.
Created attachment 62273 [details] Patch Code no longer cares about spaces in the text.
Darin please review
Applied patch.
Verified.