Bug 288163 - Completion on sub-elements of loop index local var is not available in Display View
Summary: Completion on sub-elements of loop index local var is not available in Displa...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 13:33 EDT by David M. Karr CLA
Modified: 2023-10-17 05:40 EDT (History)
1 user (show)

See Also:


Attachments
Test case: Set breakpoint on last println in "go()" and do completion as described on "foo". (1.90 KB, application/octet-stream)
2009-08-31 13:36 EDT, David M. Karr CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Karr CLA 2009-08-31 13:33:44 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: 20090621-0832

In the code editor, inside of a Java5 "for" loop, I can start typing the name of a local variable that's defined in the initialization area of the "for", and then use Ctrl-Space to get the completion choices.  I can then press "." and then Ctrl-Space to get the list of sub-elements of that local variable, like instance variables.

If I stop at a breakpoint inside that "for" loop, then go to the Display View, and then enter part of that local variable name and then press Ctrl-space, it gives me the completion choices for the local variable.  If I then enter "." and press Ctrl-space, the computer just beeps at me.

Reproducible: Always

Steps to Reproduce:
1. Set breakpoint inside "for" loop
2. Run application.
3. Hit breakpoint.
4. Move to Display View.
5. Enter first several characters of variable defined in "for" loop init area.
6. Press Ctrl-space.
7. See completion list including specified local variable name.
8. Complete variable.
9. Enter "."
10. Press Ctrl-space.
11. Computer beeps, and doesn't show completion list.
Comment 1 David M. Karr CLA 2009-08-31 13:36:55 EDT
Created attachment 146088 [details]
Test case: Set breakpoint on last println in "go()" and do completion as described on "foo".

This is my test case source file.  I set my breakpoint on last println in "go()" and do completion as described on "foo".
Comment 2 Eclipse Genie CLA 2019-10-28 20:14:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Sarika Sinha CLA 2019-11-05 06:07:38 EST
Still there.
Comment 4 Eclipse Genie CLA 2021-10-26 19:02:39 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2023-10-17 05:40:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.