Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] debugging ant editor issues

The Ant plug-ins don't support debug options (looking at the code in CVS). 
Probably best to self-host a debug session of the Ant editor.

Darin Wright




Dave <davidcorley@xxxxxxxxx> 
Sent by: platform-ant-dev-bounces@xxxxxxxxxxx
01/06/2009 11:23 AM
Please respond to
"Eclipse Ant integration developers list." <platform-ant-dev@xxxxxxxxxxx>


To
platform-ant-dev@xxxxxxxxxxx
cc

Subject
[platform-ant-dev] debugging ant editor issues






Hey all,
I'm wondering if someone can help me with this. I'm seeing strange delays 
when I try to open a file that has been marked for opening with the Ant 
Editor. I use the Telelogic Synergy SCM plugin for version control, and 
it's the combination of the ant editor and this causing the problem I 
believe. 
When I try to open any ant build file from the "Navigator" or "Package 
Explorer" views, there is a long delay (up to 2 minutes) before the file 
appears in the editor. Sometimes closing the files when opened in the 
editor can cause the same problem.
I've turned on debugging for the Telelogic plugin, but I can see no 
strange behaviour other than the fact that any debug info appears right 
before the file is opened, so there is a period where something other than 
the plug-in is doing something.
I'd like to be able to debug the Ant editor plugin to try and get 
information on what is happening as soon as I double-click the file for 
opening right up until it appears in the editor. I've create a .options 
file in the Eclipse root directory that contains the following:
=============================
com.telelogic.synergy.integration.connection/debug=true
com.telelogic.synergy.integration.connection/debug/filter=*
org.eclipse.ant.core/debug=true
org.eclipse.ant.core/debug/filter=*
org.eclipse.ant.internal.ui.editor/debug=true
org.eclipse.ant.internal.ui.editor/debug/filter=*
=============================
I then run eclipse as c:\xxx\eclipse.exe -debug -consolelog
However, this produces no debug information for me other than than 
information on the Telelogic classes.
================================
!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.416
!MESSAGE Called getProjectDetails()

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.431
!MESSAGE getSystemFileFilters(): 

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.478
!MESSAGE getObjectPropertiesFromWaPath(): Four Part 
Name-C:\work\40\collab\uwe\build, Atributes-[Ljava.lang.String;@c5a196

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.759
!MESSAGE getObjectPropertiesFromWaPath(): 
Returns-[Ljava.lang.String;@af8fc0

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.759
!MESSAGE Called getProjectDetails()

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.759
!MESSAGE getSystemFileFilters(): 

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.775
!MESSAGE getObjectPropertiesFromWaPath(): Four Part 
Name-C:\work\40\collab\uwe\build\build.xml, 
Atributes-[Ljava.lang.String;@1661eeb

!ENTRY 
com.telelogic.synergy.integration.connection.cmsessions.CCMDCObjectImpl65 
1 0 2009-01-06 17:17:53.853
!MESSAGE getObjectPropertiesFromWaPath(): 
Returns-[Ljava.lang.String;@1bf4c80

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.931
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.947
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.947
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.947
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.947
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.963
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.978
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:53.994
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.009
!MESSAGE Called storeResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.025
!MESSAGE Called getProjectDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.025
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.025
!MESSAGE Called getResourceDetails()

!ENTRY com.telelogic.synergy.integration.team.TeamPlugin 1 0 2009-01-06 
17:17:54.025
!MESSAGE Called storeResourceDetails()
==============================================
There is only a very small period of time between the beginning and end of 
the Synergy degug info, and the delay occurs before before the debug info 
is logged.

Can someone tell me how I can see what Eclipse is doing in this time?

/Dave


-- 
"A lot of people are afraid of heights. Not me, I'm afraid of widths."
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ant-dev




Back to the top