Product Version: NetBeans IDE Dev (Build 200910170201)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
1) Open MemoryView project (http://qa.netbeans.org/modules/debugger/promo-h/MemoryView.zip), open file MemoryView.java
2) Place cursor on line 58 and invoke run to cursor
3) put cursor on line 62 on the call "updateStatus();"
4) invoke Run Into Method
5) Now shows all threads as running, but the application is not running, no action visible, debugger console says "User
program running", in the debug toolbar there are four buttons enabled - stop, pause, run to cursor and apply code changes.
Workaround is only to restart debugging session. Run to cursor invokes a new debugging session.
Forgot to add, there are no error messages in the log.
Maybe this is already reported in issue #174849 - I'll check this after that issue is fixed.
I found that issue before and it looks similar, but I cannot tell if it is the same. Reported just to be sure. :)
Since it is confirmed that this is a duplicate of #174849, I consider this a stopper for beta.
Pardon, a typo: This is NOT yet confirmed as a dup of #174849.
After the fix of issue #174849 debugger does not get into that strange state any more. But "Run Into Method" does not
really work well in this case. It does not step into that method for me. Might be because the Timer class is not
initialized yet... I'm going to explore...
Debugger lockups disappeared after fix of issue #174849, but debugger still fails to run into a method in an inner
class. However, since this is not a frequent usecase, I no longer consider this a stopper for beta. Making this a P2.
There's also another problem - the method we're running into is going to be executed in another thread - in the Timer
thread. Thus this needs additional change in the logic.
Fixed in changeset: 150249:8099a910d418 and changeset: 150250:c97ee7f5d8da
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #174863 - Make Run Into Method to work for sub-classes.
Verified in trunk build 200910270201