This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 133417 [details] Screenshot of not working code completion in "New Watch" dialog. Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.0.0-12-generic running on i386; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/7.3 Cache directory: /home/cesilko/.cache/netbeans/7.3 Description: ============ If user right clicks the empty area in Editor below the last line with code and invokes "New Watch" action from the popup menu, the dialog does not provide code completion. Steps to reproduce: =================== 1. Open MemoryView project. 2. Open LineBreakpoints.java file and scroll down as much as you can. 3. Toggle line 200 breakpoint: System.out.println("Breakpoint"); 4. Right click in Editor and invoke "Debug" from its popup menu. 5. When the breakpoint is hit, right click the empty area of Editor below the last line of the class and invoke "New Watch" from popup menu. 6. Type "str" as "Watch Expression" and press Ctrl+Space. 7. Instead of "string" item you get "No suggestions".
Fixed by changeset: 254073:11deff1b5568 http://hg.netbeans.org/core-main/rev/11deff1b5568
Integrated into 'main-golden', will be available in build *201305192300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/11deff1b5568 User: mentlicher@netbeans.org Log: #228445: JPDA debugger's new watch action provider added, so that it's invoked when a debugger session is active and provides debugger's context in code-completion.
Product Version: NetBeans IDE Dev (Build 201305262300) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/dev Cache directory: /home/cesilko/.cache/netbeans/dev