Red Hat ENTERPRISE LINUX 4 - DEBUGGING WITH GDB Specifiche Pagina 13

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 26
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 25 26

Commenti su questo manuale

Nessun commento