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.

Bug 203946 - Focusing variables in Variables window clears entire row
Summary: Focusing variables in Variables window clears entire row
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 09:42 UTC by Vladimir Riha
Modified: 2014-01-30 15:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (102.89 KB, image/png)
2011-10-19 09:42 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2011-10-19 09:42:05 UTC
Created attachment 112211 [details]
screenshot

Please look at the screenshot. If I focus some varible (only the Name column) in the Variables window during debugging, then the entire row appears to be empty.


Product Version: NetBeans IDE Dev (Build 201110180600)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2011-10-19 09:43:30 UTC
FYI I tried the same with debugging Java SE application and it works fine.
Comment 2 Ondrej Brejla 2011-10-19 09:54:26 UTC
Yes I remember that I saw this behaviour few month ago...but I think that the behaviour was the same in 7.0 and 7.0.1 (I can confirm that in 7.0.1), so I think that it's P3, not P2.
Comment 3 Ondrej Brejla 2012-04-04 08:55:44 UTC
It behaves the same in Java debugger, if you click on a variable name in a row, which has an editable string value. The value in "Value" column disappears. So I think that it's something in the infrastructure?
Comment 4 Ondrej Brejla 2012-04-04 09:23:46 UTC
The value is not just visible, but is still in the cell.

Reassigning, but nut sure about correct component, sry :/
Comment 5 Vladimir Riha 2012-04-04 09:39:47 UTC
I think it could belongs here

Reassigning to Debugger|Code
Comment 6 Vladimir Riha 2012-04-04 10:42:13 UTC
(In reply to comment #3)
> It behaves the same in Java debugger, if you click on a variable name in a row,
> which has an editable string value. The value in "Value" column disappears. So
> I think that it's something in the infrastructure?

I can't reproduce it in Java debugger, only PHP
Comment 7 Vladimir Riha 2012-04-04 10:47:32 UTC
reassigning back
Comment 8 Ondrej Brejla 2012-04-04 12:21:07 UTC
I'm able to reproduce it in Java debugger...but only for a String variable which is initialized to "null". Then in the Variables window, there is a "<null value>" string and if I click on that variable's name, this value disappears.

// <java>

String foo = null;
// breakpoint here

// </java>

|  foo  |  String  | <null value>

Then click on "foo", and:

|__foo__|  String  |

For Java it could be ok. But it's the similar case, which happens in PHP implemetation of debugger UI. And I'm not able to set a breakpoint somewhere, where the displayed value is changed to "" - nothing (I tried Variables model, etc.). So I think that it's handled somewhere in Debugger SPI...or in viewmodel SPI?

Can you confirm that? Or can you tell me, why and when this happens? Or what should I "implement" in our debugger to avoid this? Thanks a lot!
Comment 9 Martin Entlicher 2013-01-08 21:27:39 UTC
This seems to be some strange drawing bug of ETable/Outline
Comment 10 Jaroslav Havlin 2014-01-30 14:55:58 UTC
I can reproduce the bug neither in Java nor in PHP debugger.
It has been probably already fixed.
Vlada, Ondra, can you still reproduce it? Thank you.
Comment 11 Vladimir Riha 2014-01-30 15:06:02 UTC
Yes, I cannot reproduce it either in PHP debugger

Product Version: NetBeans IDE Dev (Build 201401300001)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b66
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b125
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 12 Jaroslav Havlin 2014-01-30 15:12:40 UTC
(In reply to Vladimir Riha from comment #11)
> Yes, I cannot reproduce it either in PHP debugger
So I'm closing the bug as WORKSFORME.
Please reopen if you encounter the problem again.
Thank you.