netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matteodg (Jira)" <>
Subject [jira] [Commented] (NETBEANS-4037) Debugger slow - taken profiler snapshots
Date Sun, 19 Apr 2020 15:38:00 GMT


matteodg commented on NETBEANS-4037:

Hey I'm working with patched 11.3 and it really improved the performance when debugging!

One thing though I took a snapshot when using 11.3 patched with only [~jtulach] code because
it seems not improving at full speed. See here [^4037-only-jtulach-patch.npss]

Thus I think [~jlahoda] patch is needed as well.

> Debugger slow - taken profiler snapshots
> ----------------------------------------
>                 Key: NETBEANS-4037
>                 URL:
>             Project: NetBeans
>          Issue Type: Bug
>          Components: debugger - Java
>    Affects Versions: 8.2, 11.1, 11.2, 11.3
>            Reporter: matteodg
>            Assignee: Jan Lahoda
>            Priority: Major
>              Labels: performance, pull-request-available
>             Fix For: 12.0
>         Attachments: 4037-only-jtulach-patch.npss, org.netbeans.modules.debugger.jpda.ui.SourcePath.annotate.npss,
>          Time Spent: 10m
>  Remaining Estimate: 0h
> 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()
>  *
> 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!

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

For further information about the NetBeans mailing lists, visit:

View raw message