This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Monitors sometimes stay displayed if turned off | ||
---|---|---|---|
Product: | debugger | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | Keywords: | RANDOM |
Priority: | P4 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Displayed monitors although "Show monitors" option is turned off.
Screenshot of missing monitors. |
Description
Jiri Kovalsky
2011-02-11 20:42:07 UTC
I'm not able to reproduce this at all. :-( The monitors are displayed reliably for me. Perhaps this is only reproducible on 64 bits? Jiri, can you please try it on 32 bits? I'm not able to reproduce it at all on 32bits Linux 2.6.35-25-generic-pae Seems to be a random issue, I did not reproduced it yet. I was not able to reproduce any problem, resolving as works for me. Me neither. Probably some hiccup on my end. Verifying... Created attachment 109460 [details]
Screenshot of missing monitors.
I have reproduced it again. Please see the screenshot. This was in NetBeans IDE 7.0.1 RC build #201107102202 with JDK 7 build #147 on Windows 7. Reopening...
Why do you think that you should see any monitor in this case? This is a bad example, since the current program counter is *before* synchronized statement. Please change the code to: synchronized (this) { i++; } and check if you'll see the monitors when suspended on the "i++" line. Inside the synchronized statement. Oh yes, you are right. That was a silly mistake. :) Verifying... |