Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388533 - Add ability to run stap script from popup menu
Summary: Add ability to run stap script from popup menu
Status: CLOSED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Systemtap (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sami Wagiaalla CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 10:07 EDT by Alexander Kurtakov CLA
Modified: 2012-10-23 10:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2012-08-31 10:07:44 EDT
Currently, one can run stp file opened in an editor by clicking on Run button from the toolbar. But one have to be aware of this ability, the more natural way is to add Run in the popup menu in the editor.
Comment 1 Otavio Pontes CLA 2012-09-10 09:22:49 EDT
(In reply to comment #0)
> Currently, one can run stp file opened in an editor by clicking on Run
> button from the toolbar. But one have to be aware of this ability, the more
> natural way is to add Run in the popup menu in the editor.

But where should the user clicks to load that popup menu? SystemTap don't have any relation to projects and it is possible to run scripts from files that don't belong to any project.
Comment 2 Alexander Kurtakov CLA 2012-09-10 09:31:45 EDT
Right click in the stp editor is what I think of.
Comment 3 Sami Wagiaalla CLA 2012-10-09 10:18:54 EDT
I am working on this one.
Comment 4 Sami Wagiaalla CLA 2012-10-23 10:16:42 EDT
This has been fixed upstream.

After the fix you can right click on the editor or the file in the Project Explorer go to 'Run As' then 'SystemTap Script' This produces the usual pop-up where you enter user and host information.

After the Launch Configuration changes this short cut can be change to run the script locally as current user or just relaunch the latest launch configuration.