Specifications
VMware, Inc. 15
Chapter 2 Remote Debugging in Java Environment
Start an Application Debugging Session in a Virtual Machine
DonotsuspendavirtualmachinewhiletheIntegratedVirtualDebuggerisconnectedtoanapplication.Ifyou
do,theIntegratedVirtualDebuggerdisconnectsfromtheapplication.
To start an application debugging session in a virtual machine
1Beginthesessioninoneofthefollowingways:
FromtheDebugmenu,choosetheconfigurationfortheapplicationtostartdebugging.
IntheDebugpage,selecttheconfigurationunderVMwareexecuteJavaapplicationintheleftpane
andclickDebugintherightpane.
2Performdebuggingtasksasyouwouldinalocaldebuggingenvironment.
Start an Application in a Virtual Machine Without Debugging
Youcanstartanapplicationwithoutdebugginginanyconfiguredvirtualmachine.
To start an application in a virtual machine without debugging
Beginthesessioninoneofthefollowingways:
FromtheRunmenu,choosetheconfigurationfortheapplicationtostart.
IntheRunpage,selecttheconfigurationunderVMwareexecuteJavaapplicationintheleftpaneand
clickRunintherightpane.
Attach to an Application Running in a Virtual Machine
DonotsuspendavirtualmachinewhiletheIntegratedVirtualDebuggerisconnectedtoanapplication.Ifyou
do,theIntegratedVirtualDebuggerwilldisconnectfromtheapplication.
To attach to an application running in a virtual machine
1IntheDebugpage,selecttheconfigurationunderVMwareattachtoapplicationintheleftpaneandclick
Debugintherightpane.
2 Selecttheprocessyo
uwanttoattachto.
IfmorethanoneinstanceoftheJavaapplicationisrunninginthevirtualmachine,adialogboxappears
withalistoftherunninginstances,eachidentifiedbytheirprocessID,portnumber,andarguments.
3Performdebuggingtasksasyouwouldinalo
caldebuggingenvironment.