Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 84868 Details for
Bug 197297
Problems with the process console when attaching to an agent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Add console listener in attach procedure
jvmti_client_patch.txt (text/plain), 1.98 KB, created by
Stanislav Polevic
on 2007-12-10 10:50:14 EST
(
hide
)
Description:
Add console listener in attach procedure
Filename:
MIME Type:
Creator:
Stanislav Polevic
Created:
2007-12-10 10:50:14 EST
Size:
1.98 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.jvmti.client >Index: src/org/eclipse/tptp/platform/jvmti/client/internal/launcher/TIAttachLauncherDelegate.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.jvmti.client/src/org/eclipse/tptp/platform/jvmti/client/internal/launcher/TIAttachLauncherDelegate.java,v >retrieving revision 1.12 >diff -u -r1.12 TIAttachLauncherDelegate.java >--- src/org/eclipse/tptp/platform/jvmti/client/internal/launcher/TIAttachLauncherDelegate.java 24 Aug 2007 17:38:11 -0000 1.12 >+++ src/org/eclipse/tptp/platform/jvmti/client/internal/launcher/TIAttachLauncherDelegate.java 4 Dec 2007 12:30:58 -0000 >@@ -28,6 +28,8 @@ > import org.eclipse.tptp.platform.execution.client.agent.ICollector; > import org.eclipse.tptp.platform.execution.client.core.IAgentController; > import org.eclipse.tptp.platform.execution.client.core.IProcess; >+import org.eclipse.tptp.platform.execution.client.core.internal.AgentController; >+import org.eclipse.tptp.platform.execution.client.core.internal.ConsoleImpl; > import org.eclipse.tptp.platform.execution.client.core.internal.IProcessListener; > import org.eclipse.tptp.platform.execution.exceptions.InactiveAgentException; > import org.eclipse.tptp.platform.execution.exceptions.InactiveProcessException; >@@ -158,6 +160,9 @@ > TIDelegateHelper.getInstance().sendFilters(configuration, tiAgent); > TIDelegateHelper.getInstance().sendOptions(configuration, agentProxy, tiAgent); > >+ ConsoleImpl console = (ConsoleImpl) agent.getProcess().getConsole(); >+ ((AgentController)agentController).addDataListener(console.getDataConnectionID(), console.getDataProcessor()); >+ > boolean isEnableDataCollection = configuration == null ? true : configuration.getAttribute(IProfileLaunchConfigurationConstants.ATTR_AUTO_MONITORING, true); > if (isEnableDataCollection) { > TIDelegateHelper.getInstance().sendEnableDataCollection(configuration, tiAgent);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197297
:
80346
|
80347
|
80353
|
80354
|
84867
| 84868