Field breakpoints

Field breakpoints are usable when a user needs to track accesses to some class field or its modifications.


  1. move editor cursor on a field you want to track
  2. invoke New Breakpoint action Ctrl+Shift+F8 or by menu Debug > New Breakpoint
  3. Package, Class and Field Names textfields should be filled by appropriate values
  4. choose if you want to track modifications of the field or accesses to it by Stop On combo box
  5. you can choose if the debugger will stop current thread, all threads or just log a message into Debugger Console by Suspend selector
  6. debugger will hit the breakpoint if Condition option will be empty or an expression written there will be evaluated as true

Applies to: NetBeans 6.x

Platforms: All

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo