Red Hat ENTERPRISE LINUX 4 - DEBUGGING WITH GDB Spezifikationen Seite 13

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 26
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 12
VMware, Inc. 13
Chapter 2 Remote Debugging in Java Environment
3ClickOK.
4 (Optional)OnWindowsVistaguests,youmighthavetorestartthefirewallafterconfiguringittoallow
incomingconnectionstotheJVM.
Managing Virtual Machine Launch Configurations
Youcanmanageconfigurationsettingsforeachvirtualmachineinwhichyouwanttodebugapplications.
IntegratedVirtualDebuggerlaunchconfigurationsdeterminewhichvirtualmachinetoruntheapplicationin
andhowtheapplicationisexecuted.
ThelaunchconfigurationtypesVMwareattachtoapplicationandVMwareexecuteJavaapplicationhavea
VMwaretab.Theva
luesyouenterintheVMwaretabdeterminevirtualmachineconfigurationsettings.After
youconfigureavirtualmachine,youcanstartapplicationsinvirtualmachines,andattachtothem,fromthe
EclipseDebugandRunmenus.
Use Application Configurations to Start Applications in a Virtual Machine
Thissectiondescribeshowtocreate,duplicate,oreditalaunchconfigurationtostartanapplicationinavirtual
machine.
To use application configurations to start applications in a virtual machine
1 ChooseRun>Debug.
TheDebugpageisdisplayed.Youcancreate,manage,andrunconfigurationsfromthispage.
2Tocreatealaunchconfigurationoreditanexistingconfiguration,dooneofthefoll
owing:
CreateaconfigurationbasedondefaultsettingsbyselectingVMwareexecuteJavaapplicationinthe
leftpane,andclickingtheNewlaunchconfigurationiconatthetopofthepane.
Createaconfigurationbasedonanotherconfigurationbyselectingtheconfigurationyouwantto
duplicateunderVMwareexecuteJavaapplicationintheleftpane,andclickingtheDuplicatesthe
currentlyselectedconfigurationiconatthetopofthepane.
EditanexistingconfigurationbyselectingtheconfigurationyouwanttoeditunderVMwareexecute
Javaapplicationintheleftpane.
3DotheremainingstepsintheVMwaretaboftherightpane.
4Browsetochooseavirtualmachinefromthedropdownmenuofrecentlyusedandcurrentlyrunning
virtualmachines.
5Enteryo
uraccountcredentialstoaccesstheguestconsole.
6 (Optional)IfyouwanttouseaJVMotherthantheonethatisautomaticallyselected,selectanalternate
JVMpath.
7 (Optional)Expandthelistofsharedfolderstoadd,edit,orremovefolderstobesharedbetweenthehost
andtheguestsy
stems.
Foreachfolder,enterthesharenameandthelocationonthehostsystem.Bydefault,theprojectfolderis
shared.
8 (Optional)Indicateactionstobeperformedbeforetheapplicationislaunched:
SelectSetvirtualmachinestatetomostrecentsnapshottoreverttothemostrecentsnapshotbefore
theapplicationislaunched.
SelectRunscriptandenteroneormoreshellcommandstobeexecutedintheguestoperatingsystem
beforetheapplicationislaunched.Nosyntaxcheckingisperformed.Eitherenteronecommandper
line,orentermultiplecommandsonthesamelineusingasemicolonasaseparator.
Seitenansicht 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 25 26

Kommentare zu diesen Handbüchern

Keine Kommentare