Bug 175538 - "Launch action" extension point
Summary: "Launch action" extension point
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 10:38 EST by Adrian Taylor CLA
Modified: 2020-09-04 15:26 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 Adrian Taylor CLA 2007-02-26 10:38:11 EST
I have Eclipse plug-ins which instrument a device with extra logging. They must instrument the device before the debugging session starts. This involves adjusting some configuration files and installing some DLLs.

Hence I need some API or extension point in order to install an "action" to do this task, before launch. Launch must not proceed until the task is complete.

I can probably make do with the existing launch listener interface. However, there are also others who want to get a chance to perform a task before the launch occurs. Hence Ken Ryall proposes that there should be a more general "launch action" mechanism. This would let me define any action that might need to take place before a launch.

An extra tab would be provided in the launch configuration interface, to allow the user to enable, disable or reorder these launch actions. The user would get a chance to add certain simple launch actions from within the user interface - for example, running a batch file or shell script - but more complex ones would be defined programmatically by extending a new extension point.
Comment 1 Ken Ryall CLA 2007-02-26 11:23:25 EST
I'll work with Adrian to see if we can satisfy his requirements with something in M6.
Comment 2 Robert Norton CLA 2007-02-27 04:41:12 EST
I've been working on a generic 'Launch Action' framework in conjunction with Marthin Oberhuber of DSDP/TM fame which matches almost exactly what you describe (we even called them Launch Actions!). The buck is currently with our legal team so that I can contribute the code, but I'll keep you posted on any developments via this bug.

Robert
Comment 3 Ken Ryall CLA 2007-04-22 10:15:12 EDT
I've run out of time to look at this for CDT 4.0, will plan for next time.
Comment 4 Jonah Graham CLA 2019-12-30 17:05:23 EST
This bug was assigned and targeted at a now released milestone. As that milestone has now passed, the milestone field has been cleared. If this bug has been fixed, please set the milestone to the version it was fixed in and marked the bug as resolved.