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 216664 - Unstable last button on Debugger toolbar
Summary: Unstable last button on Debugger toolbar
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: REGRESSION, TEST
: 216854 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-10 13:27 UTC by Alexander Pepin
Modified: 2012-08-15 09:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2012-08-10 13:27:35 UTC
This is a regression introduced in NB build 20120809
Steps to reproduce:
- create any sample project
- do step into
- do several mouse clicks in the editor area
Result: "Selective Step In" button on the Debugger toolbar starts blinking (it disappears and appears on and on).
Comment 1 Alexander Pepin 2012-08-10 13:40:10 UTC
Please fix this ASAP as it breaks all debugger tests due to expired timeouts.
Comment 2 Egor Ushakov 2012-08-10 14:12:32 UTC
I do not see any updates coming from debugger, reassigning to window system for evaluation
Comment 3 Stanislav Aubrecht 2012-08-13 10:59:27 UTC
Works for me in 

Product Version: NetBeans IDE Dev (Build 20120813-84157f30b184)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb)
Comment 4 Alexander Pepin 2012-08-13 11:26:41 UTC
Please look carefully, it's easily reproducible on all platforms e.g.
Product Version: NetBeans IDE Dev (Build 201208100001)
Java: 1.7.0_05; Java HotSpot(TM) 64-Bit Server VM 23.1-b03
System: Windows 7 version 6.1 running on amd64; Cp1251; en_US (nb)

The regression appeared in build 20120809.

While debugging C/C++ application click on the editor several times. On each click "Step into Last or Selected function..." button will appear or disappear.
Comment 5 Stanislav Aubrecht 2012-08-13 11:41:00 UTC
It isn't reproducible with a Java project and I don't have any C compiler on my machine.

It could be related to 'toolbar overflow' code that has been integrated recently.
Can you reproduce the problem when you drag and drop the last button to a different position or different toolbar? How does it behave when you resize the main IDE window? Where is the code for that toolbar action?
Comment 6 Alexander Pepin 2012-08-13 11:51:50 UTC
It's reproducible even without starting a debugger. Just create a C/C++ sample, switch Debugger toolbar on and open any source file.
Comment 7 Alexander Pepin 2012-08-13 12:43:51 UTC
Oh, it is not reproducible before starting the debug session. It looks like the debugger toolbar is changed after debugging, at lease "Apply Code Changes" button disappears forever and  "Step into Last or Selected function..." button starts blinking.
Comment 8 Stanislav Aubrecht 2012-08-13 14:15:14 UTC
core-main a25ee10ea04a
Comment 9 Alexander Pepin 2012-08-13 14:40:17 UTC
Now it works correctly.
Thank you very much!
Comment 10 Quality Engineering 2012-08-14 02:41:39 UTC
Integrated into 'main-golden', will be available in build *201208140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a25ee10ea04a
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #216664 - Unstable last button on Debugger toolbar
Comment 11 Stanislav Aubrecht 2012-08-15 09:25:10 UTC
*** Bug 216854 has been marked as a duplicate of this bug. ***