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.
Created attachment 99432 [details] Proposed patch to display String values directly just like char[] Currently the Profiler displays in the Value column the actual value of a char[]. But for a String it just displays "#123456" or similar; you have to expand the node to look at the 'value' field. This can make certain workflows vastly slower than they need to be. For example, recently I had a heap dump with 88 instances of a kind of Node; most had a String stored in the name or displayName slot. I was looking for a certain one. 88 times, I had to click the Node instance on the left, then move the mouse over and click the expand handle next to displayName to see the value. If I could "see" String's directly, I could just click on #1, look at the Value column next to displayName, then just press the Down key until I found it, saving myself several minutes and some joint pain in my fingers. I am attaching a patch which appears to work well.
For your use-case it is much easier to write OQL query. *** This bug has been marked as a duplicate of bug 96212 ***
Well, clicking Down 88 times is easier than looking up OQL syntax and trying to write and debug a query. It would be useful if there were 800 or 8000 instances. Anyway this was just one example of a use case.
(In reply to comment #2) > Well, clicking Down 88 times is easier than looking up OQL syntax and trying to > write and debug a query. .. but you can use OQL in a lot of different situation, so I think that it is a good idea to know something about OQL. The OQL help is available online here: <https://visualvm.dev.java.net/oqlhelp.html>