Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 394997

Summary: Stop button in SystemTap IDE perspective not enabled automatically when script is running
Product: [Tools] Linux Tools Reporter: Camilo Bernal <cabernal>
Component: SystemtapAssignee: Otavio Pontes <obusatto>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, anithra, cabernal, pmuldoon, swagiaal
Version: unspecified   
Target Milestone: 2.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Camilo Bernal CLA 2012-11-23 15:27:56 EST
The "Stop running script" button in the SystemTap IDE is not enabled until console 
or editor with the running script is selected.

Proposed Solution:

Instead of having one button for stopping one or multiple script executions, I propose
adding a "Stop running script" button for each console view running a stap script. This
is similar to how local Java and C/C++ application termination is handled. Also, this 
avoids having to dynamically update the state of the stop button depending on what 
console is currently selected.
Comment 1 Camilo Bernal CLA 2012-11-23 15:30:37 EST
-- Reformatting bug report --

The "Stop running script" button in the SystemTap IDE is not enabled until console or editor with the running script is selected.

Proposed Solution:

Instead of having one button for stopping one or multiple script executions, I propose adding a "Stop running script" button for each console view running a stap script. This is similar to how local Java and C/C++ application termination is handled. Also, this avoids having to dynamically update the state of the stop button depending on what console is currently selected.
Comment 2 Sami Wagiaalla CLA 2012-12-17 14:24:14 EST
Fix in git HEAD.