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 147947 - Attach Debugger dialog is broken
Summary: Attach Debugger dialog is broken
Status: CLOSED DUPLICATE of bug 147891
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 01:25 UTC by Quy Nguyen
Modified: 2010-04-29 09:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quy Nguyen 2008-09-23 01:25:15 UTC
Product Version: NetBeans IDE Dev (Build 20080922203004)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

Using a new userdir,

1) Open Debug->Attach Debugger.
2) Choose the Java Debugger and try SharedMemoryAttach (or any other attach method than the default).
3) Fill in the info and press OK.  A dialog pops up asking for a port number, even if one is already specified.

The debugger attempts to connect via SocketAttach.  Also, when trying to use Attach Debugger later, the debugger always
attempts to connect with SocketAttach using the port from step #3.  The other debugger attach types also do not work,
including the JavaScript Web Page Debugger.

It looks like the Attach Debugger dialog expects AttachType.getCustomizer() to return the same JComponent object (cached
from the AttachType implementations), but this was not the case earlier.
Comment 1 Quy Nguyen 2008-09-23 04:30:18 UTC

*** This issue has been marked as a duplicate of 147891 ***
Comment 2 Quality Engineering 2010-04-29 09:44:18 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.