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 241016 - Stepping in sources disabled by step filters, is not possible.
Summary: Stepping in sources disabled by step filters, is not possible.
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 15:12 UTC by Martin Entlicher
Modified: 2014-01-28 03:04 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 Martin Entlicher 2014-01-27 15:12:21 UTC
When a debugger is stopped in a source file, which is filtered by step filters (e.g. on a breakpoint), further stepping in such source file is not possible, since the step filters make the execution to step out.

This can be reproduced e.g. by putting a breakpoint to AbstractStringBuilder to the first line inside append(String str) method.
Then try to debug any Java program and when the execution stops there, try to do Step Over. It continues instead.

Another, but similar case is, when the breakpoint is in a source file, whose source root is not present, or unselected in Sources window. The behavior is the same, after Step Over it continues to the nearest source, which is not filtered.

As this behavior is a source of confusion, it should continue stepping in the filtered code.
Comment 1 Martin Entlicher 2014-01-27 17:05:19 UTC
Fixed by changeset:   271195:6f2a6bf25e60
http://hg.netbeans.org/core-main/rev/6f2a6bf25e60
Comment 2 Quality Engineering 2014-01-28 03:04:32 UTC
Integrated into 'main-silver', will be available in build *201401280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6f2a6bf25e60
User: mentlicher@netbeans.org
Log: #241016: Ignore step filters when step originates from a filtered location.