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 249703 - Stepping actions leave obsolete annotations in Editor
Summary: Stepping actions leave obsolete annotations in Editor
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2015-01-08 16:46 UTC by Jiri Kovalsky
Modified: 2015-01-12 11:42 UTC (History)
0 users

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 Jiri Kovalsky 2015-01-08 16:46:44 UTC
Product Version: NetBeans IDE Dev (Build 201501080001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

Description:
============
Stepping actions do not update Debugging view and also Editor UI. Program counter is for example left in Editor as if IDE was debugging. Debugging view contains different stack trace information than in the past. This regression was originally discovered by
org.netbeans.modules.debugger.jpda.ui.AntSanityTest.stepInto() automatic test.

Steps to reproduce:
===================
1. Open or create Ant based AnagramGame sample project.
2. Toggle line 85 breakpoint (i.e. initComponents(); method call).
3. Invoke "Debug > Debug Project (AnagramGame)" from main menu.
4. Once debugger stops at line 85 invoke "Debug > Step Into" from main menu.
5. Invoke "Debug > Step Out" from main menu.
6. You will see that now there are two program counters in Editor.
Comment 1 Jiri Kovalsky 2015-01-09 09:08:44 UTC
This is certainly at least P2.
Comment 2 Martin Entlicher 2015-01-09 14:15:31 UTC
Reproduced.
Comment 3 Martin Entlicher 2015-01-09 15:26:15 UTC
This was a stupid bug. Fixed by changeset:   282817:55732ee817de
http://hg.netbeans.org/core-main/rev/55732ee817de
Comment 4 Quality Engineering 2015-01-10 18:26:12 UTC
Integrated into 'main-silver', will be available in build *201501101317* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/55732ee817de
User: mentlicher@netbeans.org
Log: #249703: Value of method chooser initialization return parameter corrected.
Comment 5 Jiri Kovalsky 2015-01-12 11:42:12 UTC
Product Version: NetBeans IDE Dev (Build 201501120001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-24-generic running on amd64; UTF-8; en_US (nb)

Verified. Thanks for the quick fix!