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 179270 - remote debugging of sunstudio IDE is broken in various ways
Summary: remote debugging of sunstudio IDE is broken in various ways
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: -S1S-
Hardware: All All
: P2 normal (vote)
Assignee: Chihin Ko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-06 16:37 UTC by Chihin Ko
Modified: 2010-01-11 14:53 UTC (History)
2 users (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 Chihin Ko 2010-01-06 16:37:03 UTC
For NB68 CND added port # as part of remote host ID, dbxgui did not accommodate
this changes, remote debugging is broken in many ways, attach, corefile debugging
won't start on remote hosts, ss_attach enable/disable state is not correct.
Comment 1 ivan 2010-01-08 17:20:06 UTC
One breakage is that when attaching remotely a local dbx is started.
I traced this to code in CndRemote.hostNameFromIndex().

serverList.getRecords().get[index] is no longer
supported so that code is commented out and replaced with 
a stopgap 'return "localhost"'. I guess we need to see how this
is done in CND's attach panel.
Comment 2 ivan 2010-01-08 18:05:06 UTC
I have a fix for the serverList issue in CndRemote.hostNameFromIndex().
Just index into getServerListIDs() which is what we generated the 
combo-box from to begin with.

Turns out there's no problem with a tacked on :22 in the hostname.
That gets dealt with in CndRemote.hostFromName() where we lookup
in a ServerRecord in ServerList and extract the hostName explicitly.

I can't push my fix because I've got pending changes which will
allow glue to handle port #'s as keys.
Comment 3 Chihin Ko 2010-01-08 18:58:40 UTC
For attach and corefile debugging we should index getServerListIDs in hostNameFromIndex.

For enable/disable problem of ss_attach, for ExternalStartManager.getXstart(String), the post # should be igored
Comment 4 Vladimir Voskresensky 2010-01-09 02:26:21 UTC
Jean, is it fixed? If yes => what is the changeset link?
Comment 5 Chihin Ko 2010-01-11 14:53:35 UTC
(In reply to comment #4)
> Jean, is it fixed? If yes => what is the changeset link?

http://lessing.sfbay.sun.com/hg/toolshg/rev/0649afd99931