I'll try to reproduce it by running NetBeans itself in debugging mode: I'll keep you posted.
On Wed, 18 Mar 2020 at 09:40, Geertjan Wielenga <geert...@apache.org> wrote: > What can we do to reproduce this? > > Gj > > On Wed, 18 Mar 2020 at 16:17, Matteo Di Giovinazzo <matte...@gmail.com> > wrote: > > > Hello, > > this is a problem we keep having with the NetBeans Debugger in our NB > > Platform application, but it seems a general problem with the Java > > debugger. It is here since years but lately it is really unusable: cannot > > really debug at all... See below. > > > > Anyone else having this problem? It is so unusable we are thinking to > > migrate from NetBeans Platform to IntelliJ platform so we can use > IntelljJ > > as the IDE for developing it. > > > > See https://issues.apache.org/jira/browse/NETBEANS-4037 > > > > We have a pretty big NetBeans Platform Application (~180 modules and 5 > > > suites) and when the debugger reaches the first breakpoint it got > stuck: > > > the tabs Debugging, Variables, Breakpoints, etc. are all with a "Please > > > wait..." node and with the NetBeans sampler I took a few snapshots > > > highlighting it is spending a lot of time on calls like: > > > > > > - org.netbeans.modules.debugger.jpda.ui.SourcePath.getURL() > > > - org.netbeans.modules.debugger.jpda.ui.SourcePath.annotate() > > > > > > which at the end boil down to a lot of calls like: > > > > > > - java.util.concurrent.CopyOnWriteArrayList.remove() > > > - java.io.File.isFile() > > > > > > Attached the snapshots. > > > Then if I press Continue the debugger remain stuck: now Pause and > > Continue > > > buttons in the toolbar are disabled... > > > I kept close and restarting NetBeans but no luck... I remember got this > > > behavior even with NB 8.2, sometimes though it goes through and I'm > able > > to > > > debug, but very rarely! > > > > > > Thanks for any help, hint to solve this problem! > > -- > > Matteo Di Giovinazzo > > > -- Matteo Di Giovinazzo