VMware Eclipse Integrated Virtual Debugger Users Manual
Previous Next


Chapter 3 Using the Eclipse Integrated Virtual Debugger : Using Application Configurations to Start Applications in a Virtual Machine

Using Application Configurations to Start Applications in a Virtual Machine
This section describes the virtual machine settings you can configure to start an application in a virtual machine.
To create, duplicate, or edit a launch configuration to start an application in a virtual machine
1
Choose Run > Debug.
The Debug page is displayed. You can create, manage, and run configurations from this page.
2
You can create a launch configuration based on default settings or based on another configuration. You can also edit an existing configuration. Do one of the following:
Create a configuration based on default settings by selecting VMware execute Java application in the left pane, and clicking the New launch configuration icon at the top of the pane.
Create a configuration based on another configuration by selecting the configuration you want to duplicate under VMware execute Java application in the left pane, and clicking the Duplicates the currently selected configuration icon at the top of the pane.
Edit an existing configuration by selecting the configuration you want to edit under VMware execute Java application in the left pane.
Perform the remaining steps in the VMware tab of the right pane.
3
Choose a virtual machine from the drop-down menu of recently used and currently running virtual machines.
Click Browse to select from .vmx files on the system.
4
(Optional) If you want to use a JVM other than the one that is automatically selected, select an alternate JVM path.
5
(Optional) Expand the list of shared folders to add, edit, or remove folders to be shared between the host and the guest systems.
For each folder, enter the share name and the location on the host system.
By default, the project folder is shared.
6
(Optional) Indicate actions to be performed before the application is launched:
Select Set virtual machine state to most recent snapshot to revert to the most recent snapshot before the application is launched.
Select Run script and enter one or more shell commands to be executed in the guest operating system before the application is launched. No syntax checking is performed. Either enter one command per line, or enter multiple commands on the same line using a semicolon as a separator.
7
(Optional) Indicate actions to be performed after the application has terminated:
Select Run script and enter one or more shell commands to be executed in the guest operating system after the application has terminated. No syntax checking is performed. Either enter one command per line, or enter multiple commands on the same line using a semicolon as a separator.
Select Set virtual machine state, and select one of the following options:
n
to suspended (default)
n
to most recent snapshot
n
to powered-off
8
Click Apply.
If you click Revert, settings revert to previous values.
If newly created, the launch configuration is added to the left pane.