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

Bug 369009

Summary: .stp files don't open in SystemTap editor
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: SystemtapAssignee: anithra <anithra>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: obusatto, pmuldoon
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Overholt CLA 2012-01-18 17:28:12 EST
If I use the SystemTap IDE and double-click to get the definition of a probe through the Probe Alias view, the .stp file does not open in the SystemTap script editor.  It should.
Comment 1 Otavio Pontes CLA 2012-05-14 10:23:33 EDT
I tested that using the systemtap in master branch and it is working fine. If you are still facing this problem, please give me instructions in how to reproduce it.
When I try to double click a probe it shows a file dialog asking for a new file name. If I give him a file name with stp extension it will open the file in STPEditor. If I create a file without an extension, or with another extension it will open the file in a  txt Editor and the probe will not be added.
Isn't this the expected behavior?
Comment 2 Andrew Overholt CLA 2012-05-24 10:18:28 EDT
I can't recall exactly what I did but if probe definitions will open in the colourized SystemTap editor when double-clicked from the Probe Alias view, then I guess any bugs have been fixed and this can be closed.  Thanks.
Comment 3 Otavio Pontes CLA 2012-05-24 12:54:27 EDT
Marking bug as resolved fixed