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 253261 - Breakpoints on a line with lambda expression do not work
Summary: Breakpoints on a line with lambda expression do not work
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-30 13:41 UTC by Martin Entlicher
Modified: 2015-07-13 11:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (22.25 KB, application/zip)
2015-06-30 13:41 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-06-30 13:41:30 UTC
Created attachment 154444 [details]
Test project

Open the attached project.
Submit a line breakpoint to line 25.
Debug the project.
The breakpoint is missed and debugging finishes.
Comment 1 Martin Entlicher 2015-06-30 13:50:50 UTC
Fixed by changeset:   289240:165e1d1b61e4
http://hg.netbeans.org/core-main/rev/165e1d1b61e4
Comment 2 Quality Engineering 2015-07-02 01:19:08 UTC
Integrated into 'main-silver', will be available in build *201507020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/165e1d1b61e4
User: mentlicher@netbeans.org
Log: #253261: Ignore line locations in different methods (lambdas) when submitting breakpoints.
Comment 3 Jiri Kovalsky 2015-07-13 11:19:45 UTC
Product Version: NetBeans IDE Dev (Build 201507130001)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)

Verified. Thanks for the fix Martine.