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.

Bug 156523 - code comletion in expression evaluator window
Summary: code comletion in expression evaluator window
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 158741 161008 162720 (view as bug list)
Depends on: 163769
Blocks:
  Show dependency tree
 
Reported: 2009-01-09 11:21 UTC by Filip Zamboj
Modified: 2010-04-29 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
main class (841 bytes, text/plain)
2009-01-09 11:22 UTC, Filip Zamboj
Details
stupid class (514 bytes, text/plain)
2009-01-09 11:23 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-01-09 11:21:04 UTC
code completion doesn't work in some cases. Actually, the problem is that it works for some variables and for the other
not. Only logic I found in it was it doesn't work for variables referencing my own classes but works for variables
referencing jdk. However, evaluation returns correct result. 
I'll attach code. 
Here you go what i entered into expression evaluator: - code completion works for r and doesn't work for stupid.  
if (r.nextBoolean() == true)
                stupid.removeStupidity();
        still = stupid.areYouStillStupid();
        if (still == true) {
            System.out.println("It is still stupid, it should get rid of the stupidity");
            return true;
        } else {
            System.out.println("Nop, it's not stupid anymore - it's clever ;) ");
            return false; 
        }
Comment 1 Filip Zamboj 2009-01-09 11:22:28 UTC
Created attachment 75625 [details]
main class
Comment 2 Filip Zamboj 2009-01-09 11:23:17 UTC
Created attachment 75626 [details]
stupid class
Comment 3 Filip Zamboj 2009-01-09 11:24:27 UTC
Just to be complete: 
Product Version: NetBeans IDE Dev (Build 200901090201)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-9-generic running on i386; UTF-8; en_US (nb)
Comment 4 Daniel Prusa 2009-03-16 11:33:15 UTC
*** Issue 158741 has been marked as a duplicate of this issue. ***
Comment 5 Martin Entlicher 2009-04-20 10:15:25 UTC
*** Issue 162720 has been marked as a duplicate of this issue. ***
Comment 6 Quality Engineering 2009-04-25 07:27:14 UTC
Integrated into 'main-golden', will be available in build *200904250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f541bfbff349
User: Daniel Prusa <dprusa@netbeans.org>
Log: #156523: Code comletion in watches and code evaluator fixed.
Comment 7 Daniel Prusa 2009-04-27 14:47:22 UTC
Problem in code evaluator fixed - context has to be changed when debugger is resumed and stopped again.
There is still bug in DialogBinding.bindComponentToFile() causing problems with cc.
Comment 8 Daniel Prusa 2009-05-05 10:32:04 UTC
*** Issue 161008 has been marked as a duplicate of this issue. ***
Comment 9 Martin Entlicher 2009-05-21 15:04:08 UTC
After issue #163769 was fixed, this is fixed as well. Please verify.
Comment 10 Quality Engineering 2010-04-29 09:46:35 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.