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.
Product Version: NetBeans IDE Dev (Build 201308092300) Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b38 System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb) User directory: C:\Users\quaglan\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\quaglan\AppData\Local\NetBeans\Cache\dev In recent builds of NB, the debug window always opens the File dialog for variables of type File. I do not find this as being always appropriate. I am debugging a Java Web App that runs on a Linux box, but my development workstation is on Windows. When remote debugging the Web App running on the Linux box, it does not make sense to me that the Windows File Dialog opens when watching a variable of a file that resides on the linux box, like for example: solr1/inspire/xmlroot/INSPIRE-9690caaf-0e2f-11e3-8a0b-d8d3855bd8fc_20130826-111438/services/1/PullResults/4861-4880/resources/services/16/inspire.geoportal.resource.service.xml The only thing I might want to do in that situation is to copy the file path but this has become quite cumbersome now that the File Dialog opens.
In addition, if I add a Watch expression whose value is a file I click on the ellipsis in the Value column and copy and paste the value I get a "C:" prepended to the file path, which is really a bug: C:/solr1/inspire/xmlroot/INSPIRE-9690caaf-0e2f-11e3-8a0b-d8d3855bd8fc_20130826-111438/services/1/PullResults/5261-5280/resources/services/14/resourceLocator2/view/services/1/layers/130/resourceReport/inspire.geoportal.resource.xml
This was introduced by issue #212827, we use all property editors that are registered in the IDE. We should probably not use the specialized property editor for java.io.File in debugger, since you typically do not need to navigate the the file.
You can get the plain value by un-checking the "Show values as visual property editors, when available" icon on the left side of the Variables window.
Fixed by changeset: 262674:c2fc5d627a7e http://hg.netbeans.org/core-main/rev/c2fc5d627a7e
Integrated into 'main-silver', will be available in build *201308270854* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c2fc5d627a7e User: mentlicher@netbeans.org Log: #235030: Ignore property editor for java.io.File class.