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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 26
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 6
VMware, Inc. 7
1
TheIntegratedVirtualDebuggerforEclipseprovidesaconfigurableinterfacebetweenEclipseandvirtual
machinesmakingiteasytodevelopanddebug,onasinglePC,applicationsthatrunonmultipleoperating
systems.Debuggingyourapplicationsinvirtualmachinesenablesyoutoreproduceandrecorderrorswhile
maintainingtheintegrityofthehostmac
hine.Thischaptercontainsthefollowingsections:
“DebuggingEnvironmentoftheIntegratedVirtualDebuggeronpage 7
“InstallationRequirementsoftheIntegratedVirtualDebuggerforEclipse”onpage 8
“InstallingandUninstallingtheIntegratedVirtualDebuggerforEclipse”onpage 9
Debugging Environment of the Integrated Virtual Debugger
TheIntegratedVirtualDebuggerletsyoudebugJavaorC++applicationsinavirtualmachine.Itisoften
necessarytodebuganapplicationinmanydifferentenvironments.WiththeIntegratedVirtualDebuggeryou
candebugaJavaorC++applicationondifferentoperatingsystemsanddifferentJVMs.Forexample,youcan
alsode
bugusingdifferentversionsofWindows,servicepacks,DLLsinstalled,andsoon.
Usingvirtualmachinesfordebuggingprovidesaconvenientalternativetodebuggingonphysicalmachines
becauseyoucandebuganapplicationondifferentsetups.TheIntegratedVirtualDebuggerhelpsmanage
yourvirtualmachines.TheIntegratedVirtualDebuggercanpow
erguestvirtualmachinesonandoff,startthe
applicationinitsvirtualmachine,attachthedebuggertotheapplication,andcontroltheapplication.
Thetypicaldebuggingtaskssuchaspausingatbreakpoints,steppingthroughcode,andviewingand
modifyingthestateofyourapplication,canbeperformedwithoutimpactingthehostenvi
ronment.
TheIntegratedVirtualDebuggeralsoenablesyouto:
Managelaunchconfigurationsettingsforapplicationexecutionanddebugginginvirtualmachines.
Startanapplicationdebuggingsessioninavirtualmachine.
Startanapplicationinavirtualmachinewithoutdebugging.
Startadebuggingsessionthatattachestoaprocessalreadyrunninginavirtualmachine.
UsingEclipselaunchconfigurations,youcanchooseavirtualmachineinwhichtorunyourapplicationand
determinehowtheapplicationisexecuted.Whenconfigured,theIntegratedVirtualDebuggerfindsthe
virtualmachine,powersitonifnece
ssary,setsuptheenvironmentbasedonyourconfigurationsettings,and
startsorattachestotheapplication.
Toconfigurehowanapplicationisstartedinavirtualmachine,youcanspecify:
Nameofthevirtualmachine(.vmxconfigurationfile).
Accountcredentialsforguestconsole.
(Optional)PathtotheJavaVirtualMachine(JVM)ontheguestsystem.
(Optional)Locationsoffolderstobesharedbetweenthehostandtheguest.
Using the Integrated Virtual Debugger
for Eclipse
1
Vedere la pagina 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 25 26

Commenti su questo manuale

Nessun commento