Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4037

Debugger slow - taken profiler snapshots

    XMLWordPrintableJSON

Details

    Description

      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!

       

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              matteodg@infinito.it matteodg
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m