Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
LaunchConfigurationShowCommandLine
Revision as of 01:15, 14 August 2018 by Sarika.sinha.in.ibm.com (Talk | contribs) (Created page with "==API Changes in Platform Debug== * org.eclipse.debug.core.ILaunchConfigurationType.supportsPrototypes() * org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showComman...")
API Changes in Platform Debug
- org.eclipse.debug.core.ILaunchConfigurationType.supportsPrototypes()
- org.eclipse.debug.core.model.ILaunchConfigurationDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor)
- org.eclipse.debug.internal.core.IConfigurationElementConstants.ALLOW_COMMANDLINE corrsponding to allowCommandLine property in launchConfigurationType.exsd
Other changes in Platform Debug
- Implementation for org.eclipse.debug.core.ILaunchConfigurationType.supportsPrototypes() in org.eclipse.debug.internal.core.LaunchConfigurationType.supportsCommandLine()
- Changes in org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer to support "Show Command Line" Button in Launch Configurations
Implementation in JDT Debug
- plugin.xml
- Added allowCommandLine="true"
<extension point="org.eclipse.debug.core.launchConfigurationTypes"> <launchConfigurationType allowPrototypes="true" allowCommandLine="true" delegate="org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedJavaLaunchDelegate" delegateDescription="%localJavaApplicationDelegate.description" delegateName="%eclipseJDTLauncher.name" id="org.eclipse.jdt.launching.localJavaApplication" migrationDelegate="org.eclipse.jdt.internal.launching.JavaMigrationDelegate" modes="run, debug" name="%localJavaApplication" sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> </launchConfigurationType>
- JavaLaunchDelegate
- org.eclipse.jdt.launching.JavaLaunchDelegate.showCommandLine(ILaunchConfiguration, String, ILaunch, IProgressMonitor)
- Overridden to show command line. Tip is to carve out the common functionality from launch method to be reused in showCommandLine method.
- Added API org.eclipse.jdt.launching.IVMRunner.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor)
- Implemented org.eclipse.jdt.internal.launching.StandardVMRunner.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor) and org.eclipse.jdt.internal.launching.StandardVMDebugger.showCommandLine(VMRunnerConfiguration, ILaunch, IProgressMonitor)