Community
Participate
Working Groups
Build Identifier: I20100608-0911 I'm trying to do a little study about how often people run JUnit tests, but I don't think that the UDC data has exactly what I need. UDC events (command executions) are generated when I, for example, press Control+F11 for "RunLast". However, events don't seem to be generated when I go into the "Run Configuration Dialog" and press "Run." My guess is that there is no Command being generated for this button press. I suspect that this problem extends to other types of commands and menus, but I'm not sure how to characterize the more general problem. Reproducible: Always Steps to Reproduce: 1. Run program via the run dialog. 2. Run a program by pressing Ctrl+F11 3. Observe that a UDC event is generated for (2), but not (1).
*** Bug 315840 has been marked as a duplicate of this bug. ***
Anything that is a command is recorded by UDC. Buttons in a dialog are not commands hence they are not recorded. In most instances opening a dialog is a command and hence should be recorded. However, the problem with 'Run' toolbar button is that the button is not defined as a 'command', see <action id = "org.eclipse.debug.internal.ui.actions.RunDropDownAction" ... > in org.eclipse.debug.ui\plugin.xml. (This action is not the same as <action id = "org.eclipse.debug.ui.actions.RunLast"... >) Another instance of the same problem is the Search toolbar button which is also not a 'command', see <action id="org.eclipse.search.OpenSearchDialogPage" ...> in /org.eclipse.search/plugin.xml. (This action is different from the command <action id="org.eclipse.search.OpenSearchDialog"..> )
The Usage Data Collector was decommissioned a long time ago. Therefore any remaining bugs are now being closed as WONTFIX. If this bug is still relevant, please make a comment and we'll move it to the correct project/component for further investigation. This change was made as part of a bulk change.