org.eclipse.cdt.dsf.service.DsfSession Java Examples
The following examples show how to use
org.eclipse.cdt.dsf.service.DsfSession.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GoDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 6 votes |
@Override protected MIVariableManager services_MIExpressions_createMIVariableManager(DsfSession session, DsfServicesTracker servicesTracker) { return new MIVariableManager_LangExtension(session, servicesTracker) { @Override protected GDBType getCorrectedGdbType(String newTypeName, GDBType gdbType) { if(gdbType.getType() == GDBType.POINTER && gdbType instanceof GDBDerivedType) { GDBDerivedType gdbDerivedType = (GDBDerivedType) gdbType; return gdbTypeParser.new GDBDerivedType(gdbDerivedType.getChild(), GDBType.REFERENCE); } return super.getCorrectedGdbType(newTypeName, gdbType); } @Override public String createChild_getChildFullExpression(String childFullExpression, MIVar childData) { return childFullExpression.replace(")->", ")."); } }; }
Example #2
Source File: RustDebugDelegate.java From corrosion with Eclipse Public License 2.0 | 5 votes |
@Override protected DsfSourceLookupDirector createDsfSourceLocator(ILaunchConfiguration configuration, DsfSession session) throws CoreException { DsfSourceLookupDirector sourceLookupDirector = new DsfSourceLookupDirector(session); sourceLookupDirector.setSourceContainers( ((SourceLookupDirector) getSourceLocator(configuration, session)).getSourceContainers()); return sourceLookupDirector; }
Example #3
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 5 votes |
protected GDBControl getGdbControl_override(DsfSession session, ILaunchConfiguration config, GdbDebugServicesFactory gdbSvcFactory) { GDBControl gdbControl = null; if(GdbDebugServicesFactory.GDB_7_7_VERSION.compareTo(gdbSvcFactory.getVersion()) <= 0) { gdbControl = new GDBControl_7_7(session, config, new CommandFactory_6_8()) { @Override protected Sequence getCompleteInitializationSequence(Map<String, Object> attributes, RequestMonitorWithProgress rm) { return getCompleteInitializationSequence__GDBControl_7_7__ext(getSession(), attributes, rm); } }; } return gdbControl; }
Example #4
Source File: GdbLaunchDelegateExtension.java From goclipse with Eclipse Public License 1.0 | 5 votes |
@Override protected DsfSourceLookupDirector createDsfSourceLocator(ILaunchConfiguration lc, DsfSession session) throws CoreException { DsfSourceLookupDirector sourceLookupDirector = createSourceLookupDirector(lc, session); sourceLookupDirector.addParticipants( new ISourceLookupParticipant[]{ new DsfSourceLookupParticipant(session) } ); return sourceLookupDirector; }
Example #5
Source File: AbstractLangGdbAdapterFactory.java From goclipse with Eclipse Public License 1.0 | 5 votes |
@SuppressWarnings("unchecked") @Override protected <T> T createModelAdapter(Class<T> adapterType, ILaunch launch, DsfSession session) { if (IViewerInputProvider.class.equals(adapterType)) { return (T) createGdbViewModelAdapter(session, getSteppingController()); } return super.createModelAdapter(adapterType, launch, session); }
Example #6
Source File: RustDebugDelegate.java From corrosion with Eclipse Public License 2.0 | 5 votes |
@Override protected ISourceLocator getSourceLocator(ILaunchConfiguration configuration, DsfSession session) throws CoreException { SourceLookupDirector locator = new SourceLookupDirector(); String memento = configuration.getAttribute(ILaunchConfiguration.ATTR_SOURCE_LOCATOR_MEMENTO, (String) null); if (memento == null) { locator.initializeDefaults(configuration); } else { locator.initializeFromMemento(memento, configuration); } return locator; }
Example #7
Source File: GdbVariableVMProvider_Override.java From goclipse with Eclipse Public License 1.0 | 5 votes |
public GdbVariableVMProvider_Override(AbstractVMAdapter adapter, IPresentationContext context, DsfSession session) { super(adapter, context, session); getPresentationContext().setProperty( IDebugVMConstants.PROP_FORMATTED_VALUE_FORMAT_PREFERENCE, MIExpressions.DETAILS_FORMAT); }
Example #8
Source File: GdbLaunchDelegateExtension.java From goclipse with Eclipse Public License 1.0 | 4 votes |
@SuppressWarnings("unused") protected LangSourceLookupDirector createSourceLookupDirector(ILaunchConfiguration lc, DsfSession session) { return new LangSourceLookupDirector(session); }
Example #9
Source File: AbstractLangDebugLaunchConfigurationDelegate.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public GDBBackend_Lang(DsfSession session, ILaunchConfiguration lc) { super(session, lc); this.fLaunchConfiguration = lc; this.project = getProject(lc); }
Example #10
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public IMIBackend createBackendGDBService(DsfSession session, ILaunchConfiguration lc) { return new GDBBackend(session, lc); }
Example #11
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 4 votes |
protected MIVariableManager services_MIExpressions_createMIVariableManager(DsfSession session, DsfServicesTracker servicesTracker) { return new MIVariableManager_LangExtension(session, servicesTracker); }
Example #12
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public MIExpressions_Override(DsfSession session) { super(session); }
Example #13
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public IExpressions createExpressionService(DsfSession session) { IMIExpressions originialExpressionService = new MIExpressions_Override(session); return new GDBPatternMatchingExpressions(session, originialExpressionService); }
Example #14
Source File: LangDebugServicesExtensions.java From goclipse with Eclipse Public License 1.0 | 4 votes |
protected Sequence getCompleteInitializationSequence__GDBControl_7_7__ext(DsfSession session, Map<String, Object> attributes, RequestMonitorWithProgress rm) { return new FinalLaunchSequence_7_7(session, attributes, rm); }
Example #15
Source File: MIVariableManager_LangExtension.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public MIVariableManager_LangExtension(DsfSession session, DsfServicesTracker tracker) { super(session, tracker); }
Example #16
Source File: GdbExpressionVMProvider_Override.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public GdbExpressionVMProvider_Override(AbstractVMAdapter adapter, IPresentationContext context, DsfSession session) { super(adapter, context, session); }
Example #17
Source File: Lang_GdbExpressionVMProvider.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public Lang_GdbExpressionVMProvider(AbstractVMAdapter adapter, IPresentationContext context, DsfSession session) { super(adapter, context, session); }
Example #18
Source File: GdbLaunchDelegateExtension.java From goclipse with Eclipse Public License 1.0 | 4 votes |
@Override protected ISourceLocator getSourceLocator(ILaunchConfiguration configuration, DsfSession session) throws CoreException { return super.getSourceLocator(configuration, session); }
Example #19
Source File: LangSourceLookupDirector.java From goclipse with Eclipse Public License 1.0 | 4 votes |
protected DsfSourceLookupParticipantExtension(DsfSession session) { super(session); }
Example #20
Source File: LangSourceLookupDirector.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public LangSourceLookupDirector(DsfSession session) { super(session); this.session = session; }
Example #21
Source File: Lang_GdbVariableVMProvider.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public Lang_GdbVariableVMProvider(AbstractVMAdapter adapter, IPresentationContext context, DsfSession session) { super(adapter, context, session); }
Example #22
Source File: AbstractLangGdbAdapterFactory.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public GdbExtendedSessionAdapters(ILaunch launch, DsfSession session, Class<?>[] launchAdapterTypes) { super(launch, session, launchAdapterTypes); }
Example #23
Source File: AbstractLangGdbAdapterFactory.java From goclipse with Eclipse Public License 1.0 | 4 votes |
@Override protected GdbSessionAdapters createGdbSessionAdapters(ILaunch launch, DsfSession session) { return new GdbExtendedSessionAdapters(launch, session, getAdapterList()); }
Example #24
Source File: GdbExtendedViewModelAdapter.java From goclipse with Eclipse Public License 1.0 | 4 votes |
public GdbExtendedViewModelAdapter(DsfSession session, SteppingController controller) { super(session, controller); }
Example #25
Source File: GdbVariableVMNode_Override.java From goclipse with Eclipse Public License 1.0 | 4 votes |
GdbVariableVMNode_Override(AbstractDMVMProvider provider, DsfSession session, SyncVariableDataAccess syncVariableDataAccess) { super(provider, session, syncVariableDataAccess); }