[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Hyades 3.0 and filters
|
I have not moved up to a newer version of hyades, I am still using eclipse
3.0 so stayed with hyades 3.0 on windows. I have noticed a couple of things
which I did not expect and wondered if they were bugs or WAD.
1. I wish to profile a plug-in. When I launch it via the run menu, the
plugins loaded are the ones listed in my selection of plugins. If I launch
the same configuration through the profile launcher, my plugins are not
loaded in fact it looks like it is just the default plugins available within
the original eclipse workbench, it doesn't include the plugins from my
workspace.
To get around 1, I have copied piAgent.dll to my java bin directory and
launch the application with -Xrunpiagent. I can then attach to the new
workbench using a profile attach.
2. I defined filters for my profiling to try to restrict it just my package.
For example I wanted to only report on package com.xxx.myapp.mypackage
(there are several other packages in the myapp structure but I only want
mypackage). So I define the include filter com.xxx.myapp.mypackage* and *
for all methods. I define an exclude filter of com.xxx* and * for all
methods. It doesn't matter of the include filter is above or below the
exclude filter, I never get any information being collected. I have had to
resort to just having exclude filters for all packages I am not interested
in on the com.xxx package structure, and the include filter is not even
required as hyades includes it by default. I have tried to get to a
situation where I can exclude everything and just include what I want but it
would appear an include doesn't override the exclude. The online
documentation doesn't say this is possible and doesn't provide information
on include/exclude order so I must conclude it is not possible.
Is this something that should work ?
regards
Dave Kelsey