[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [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.
----- Original Message -----
From: "Øyvind Harboe" <oyvind.harboe@xxxxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Wednesday, June 09, 2004 7:23 AM
Subject: [cdt-debug-dev] Can a plugin stop CDT from issuing "run"?
> I would like to create an "embedded GDB debugger plugin" for CDT, but
> its not going to happen overnight.
>
> The current CDT plugin *almost* does what I need, so if I could just
> make some wafer-thin subclasses of the existing code, I'd probably be
> there.
>
> E.g. I would like to subclass
> eclipse/cdt/debug/mi/core/cdi/model/Target::restart() to be a no-op(or
> possibly to execute a "continue", since "run" has no meaning on an
> embedded target)
>
> Can this be done from a plugin?
>
> There are handful of other minute tweaks kinda-like this one I need to
> do.
>
> BTW, fresh build from of my "embeddeddt" hack from today's CVS. Tested
> with Eclipse SDK RC1.
>
> http://www.zylin.com/embeddedcdt-20040609.zip
>
> More info:
>
> http://www.zylin.com/opensource.html
>
> --
> Øyvind Harboe
> http://www.zylin.com
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>