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 270538

Summary: Regression using code-complete in Watch Expression window
Product: debugger Reporter: _ gtzabari <gtzabari>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal Keywords: REGRESSION
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:

Description _ gtzabari 2017-05-03 03:38:53 UTC
Product Version: NetBeans IDE Dev (Build 201704270002)
Java: 1.8.0_131; Java HotSpot(TM) 64-Bit Server VM 25.131-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_131-b11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Enter a new watch expression
2. Enter "Address." and trigger code-complete
3. Select "getById" method and hit ENTER
4. Expecting code-complete to fill the input field with:

   Address.getById(session, tablesToUpdate, id)

5. But instead, it fills the input field with:

Address.getById

(session

, tablesToUpdate

, id)

Please remove the unwanted newlines.

This used to work in past versions (8.1 for sure but I think 8.2 as well).