Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Can a plugin stop CDT from issuing "run"?

>You can copy all launcher classes to your plugin. The launcher uses the
>static methods in the "CDebugModel" class to create a debug target.
> Create your own class with similar methods and use it instead of
>"CDebugModel".
>To disable "restart" use the "setConfiguration" method of ICDISession
> to replace the default configuration by your own. You can override the
>"supportsRestart" method of the default configuration.

Perhaps I don't speak enough CDT to understand what you are suggesting,
but I can't see how this is a meaningful alternative to what I do today.

It seems like it is more difficult, more work and I wouldn't get your 
bug-fixes to CDT GDB automatically, as I do with my current approach.

Today I copy the entire CDT + delete a couple of lines of code and
occasinally do a Team->Update + recompile. Mostly a team->update +
recompile is all I need to do.

If you fix a bug/add a feature in Eclipse CDT GDB support, my plugin
must immediately take advantage of your improvement.

Perhaps my plugin has no raison d'etre, but my "fleeting vain attempts"
at submitting patches to the GDB CDT support didn't fly.

-- 
Øyvind Harboe
http://www.zylin.com




Back to the top