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 270940 - Java debugger won't stop on breakpoints inside java class initialization block
Summary: Java debugger won't stop on breakpoints inside java class initialization block
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: Dev
Hardware: PC Windows 7 x64
: P1 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 10:39 UTC by Pere
Modified: 2017-06-23 10:39 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 Pere 2017-06-23 10:39:21 UTC
I place breakpoints inside common initialization block for Java classes (not  static { } ones, but the "regular" { ... } common initialization block for constructors) and, while in a debugging session, the debugger won't stop on them, although it's clear that the implied code has been executed when the debugger finally stops, later, in any other breakpoint placed in a more "usual" place.