Can't debug code

In my application I monitor memory usage with and (similarly to

I set to MemoryMXBean - to be informed when memory usage exceeds a threshold limit. The problem is when this listener invokes a method having some breakpoints inside - neither of them ever works for me, i.e debugger never stops on any of them. So I can't debug NotificationListener code ..

1 comment
Comment actions Permalink

Have you found any way to debug NotificationListener classes?


Please sign in to leave a comment.