[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Parallel Breakpoints with Photran
|
Jeff,
Given the CDT adapter is in PTP, it probably makes sense for the
Photran one to be as well. If you'd like to open a bug and attach a
patch, I'll take a look.
Greg
On Jul 17, 2009, at 2:17 PM, Jeffrey Overbey wrote:
Greg,
I tried something along the lines of what you suggested earlier: I
added
<extension point="org.eclipse.core.runtime.adapters">
<factory
class
=
"org
.eclipse
.ptp.debug.internal.ui.actions.RetargettableActionAdapterFactory"
adaptableType
="org.eclipse.photran.internal.ui.editor.FreeFormFortranEditor">
into the photran.ui plug-in and made ptp.debug.ui an optional
dependency. It works.
The problem is that the org.eclipse.ptp.debug.internal.ui.actions
package is not exported (for obvious reasons).
So we can either
(1) export that package to downstream plug-ins (at least
photran.ui), or
(2) move the adapter factory declaration into the PTP plug-in
instead of Photran, and make photran.ui an optional dependency of
PTP rather than the other way around.
Which do you prefer?
Also, it does not seem to be possible to toggle parallel breakpoints
outside the PTP Debug perspective, even in the C/C++ Editor. Is
that by design?
Jeff
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev