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 92955 Details for
Bug 174166
Profiling - no execution data was colllected after "reset data"
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]
patch
174166.patch.txt (text/plain), 3.14 KB, created by
Eugene Chan
on 2008-03-19 15:12:00 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Eugene Chan
Created:
2008-03-19 15:12:00 EDT
Size:
3.14 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.hyades.trace.ui >Index: src/org/eclipse/hyades/trace/ui/internal/util/PDCoreUtil.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.hyades.trace.ui/src/org/eclipse/hyades/trace/ui/internal/util/PDCoreUtil.java,v >retrieving revision 1.49 >diff -u -r1.49 PDCoreUtil.java >--- src/org/eclipse/hyades/trace/ui/internal/util/PDCoreUtil.java 28 May 2007 19:33:07 -0000 1.49 >+++ src/org/eclipse/hyades/trace/ui/internal/util/PDCoreUtil.java 19 Mar 2008 19:11:36 -0000 >@@ -1,5 +1,5 @@ > /********************************************************************** >- * Copyright (c) 2005, 2007 IBM Corporation and others. >+ * Copyright (c) 2005, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -283,6 +283,10 @@ > } > > public static final void detachAgent(TRCAgentProxy agent) throws InactiveAgentException, InactiveProcessException { >+ detachAgent(agent, true); >+ } >+ >+ public static final void detachAgent(TRCAgentProxy agent,boolean deregistrate) throws InactiveAgentException, InactiveProcessException { > TRCProcessProxy process = agent.getProcessProxy(); > String hostName = process.getNode().getName(); > Node node = PDCoreUtil.profileConnect(hostName, String.valueOf(process.getNode().getPort())); >@@ -308,7 +312,9 @@ > // LoadersUtils.deregisterAgentInstance(agent); > // LoadersUtils.deregisterAgentListener(agent); > >- LoadersUtils.deregisterAgentProxyContext(agent); >+ if (deregistrate) { >+ LoadersUtils.deregisterAgentProxyContext(agent); >+ } > > if (agent.isToProfileFile()) { > XMLTraceDataProcessor processor = (XMLTraceDataProcessor) LoadersUtils.locateDataProcessor(agent); >Index: src/org/eclipse/hyades/trace/ui/internal/actions/NewSnapshotActionDelegate.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.hyades.trace.ui/src/org/eclipse/hyades/trace/ui/internal/actions/NewSnapshotActionDelegate.java,v >retrieving revision 1.9 >diff -u -r1.9 NewSnapshotActionDelegate.java >--- src/org/eclipse/hyades/trace/ui/internal/actions/NewSnapshotActionDelegate.java 26 Jul 2006 14:18:45 -0000 1.9 >+++ src/org/eclipse/hyades/trace/ui/internal/actions/NewSnapshotActionDelegate.java 19 Mar 2008 19:11:36 -0000 >@@ -1,5 +1,5 @@ > /********************************************************************** >- * Copyright (c) 2005, 2006 IBM Corporation and others. >+ * Copyright (c) 2005, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -86,7 +86,7 @@ > > try > { >- PDCoreUtil.detachAgent(fAgent); >+ PDCoreUtil.detachAgent(fAgent,false); > > ProfileEvent event = UIPlugin.getDefault().getProfileEvent(); >
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 174166
:
58980
|
59806
| 92955