Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Parallel Breakpoints with Photran

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


Back to the top