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 186015 - respect Remote Profiling setting from Attach wizard
Summary: respect Remote Profiling setting from Attach wizard
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 14:37 UTC by Tomas Hurka
Modified: 2010-05-19 06:11 UTC (History)
0 users

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 Tomas Hurka 2010-05-12 14:37:41 UTC
Currently remote profiling is detected from socket address in agent and from remote host field. If the remote host is localhost, the connection is considered local even if user selected remote profiling. If the socket address is local address, agent uses local profiling regardless of client settings. This create problems when profiling CVM or profiling remotely via forwarded port.
The fix should do two things. 
1) Remote Profiling setting from Attach wizard should be respected even if the remote host is localhost
2) client and agent should use the same source for setting remote profiling flag. This should prevent situation, when the flag is different on the client and agent side.
Comment 1 Tomas Hurka 2010-05-12 15:51:42 UTC
Fixed in profiler-main
changeset:   170463:f6b359adf5a4
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed May 12 17:47:05 2010 +0200
summary:     bugfix #186015, respect Remote Profiling setting from Attach Wizard
Comment 2 Quality Engineering 2010-05-19 06:11:11 UTC
Integrated into 'main-golden', will be available in build *201005182201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: