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

Summary: Java debugger won't stop on breakpoints inside java class initialization block
Product: debugger Reporter: Pere
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: Dev   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

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.