Thanks, Martin. I did find the breakpoints file in my ~/.netbeans directory and removed it. That cleared all of the breakpoints and NB15 seems to be keeping track of breakpoints just fine now.
I can't say how it happened, or how to reproduce it, but I have a guess. I installed NB15 recently and let it import settings from NB12.6, which is where those breakpoints were defined. My guess is that something about the NB12.6 breakpoints gave NB15 heartburn - but it's just a guess. Since this fixed the problem, and if no one else has the same problem, then I think we can safely move on. If it comes back, I'll make note of what I did. Thanks, Peter ________________________________ From: Martin Entlicher <[email protected]> Sent: Wednesday, October 5, 2022 9:59 AM To: [email protected] <[email protected]> Subject: Re: NetBeans 15 losing track of Java debugger breakpoints Hello, it'd be good to know what are the steps to reproduce this situation from scratch. If you could recall what did you do before the breakpoints disappeared from the Breakpoints window, it'd help. The breakpoints can be deleted from file: <NB user dir>/config/Services/org-netbeans-modules-debugger-Settings.properties The file contains breakpoints, watches, windows columns of debugging windows, etc. It's debugger-specific. If you have nothing important there, delete the whole file. Or set just debugger.breakpoints.jpda.length property to 0 and NetBeans will read no breakpoints. It's important to close NetBeans first, then do the changes in the file (or delete it) and then start NetBeans. Regards, Martin ________________________________ From: Peter Blemel <[email protected]> Sent: Monday, October 3, 2022 20:14 To: [email protected] <[email protected]> Subject: [External] : NetBeans 15 losing track of Java debugger breakpoints Hi Everyone, When debugging my NetBeans platform App, NetBeans 15 is submitting breakpoints to the debugger and my program stops on them. My issue is that I can't delete/disable them from Window -> Debugging -> Breakpoints because the list is empty. I have to let NB15 submit each breakpoint, click on the link in the Debugger Console (or hit the breakpoint at runtime) and clear them manually from in the source window. That is a workaround for LineBreakpoints. However, one of the breakpoints is a FieldBeakpoint, which can't be cleared from inside of the editor window (or at least I can't see how to do it). When a FieldBreakpoint is submitted, unlike a LineBreakpoint, there is no link to it in the Debugger Console window. When the debugger stops on this breakpoint, I can't remove it from the source window so it appears to be permanent. The result is that my program stops every time this variable is modified, and I can't find a way to delete the breakpoint. Where are Breakpoints persisted? Is there a text file that I can edit to manually remove them before starting the IDE? I don't know how it happened, or even if I can reproduce this behavior for a bug report. If I can figure it out, I'll submit an issue. Has anyone else seen this behavior? Thanks, peter
