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

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 26
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 19
Integrated Virtual Debugger for Eclipse Developer’s Guide
20 VMware, Inc.
Managing Virtual Machine Launch Configurations
YoucanmanagetheDebugconfigurationsettingstodeterminewhichvirtualmachinerunstheapplication
andhowtheapplicationisrun.Theconfigurationalsoallowsyoutoruncommandlinescriptsbeforeandafter
thedebuggingsessionandenablespecifiedsharedfoldersduringthedebuggingsession.Afteryouconfigure
thedebugger,yo
ucanstartapplicationsinvirtualmachinesfromtheEclipseDebugandRunmenus.
Set Debug Configuration Settings to Start Applications in a Virtual Machine
Youcancreate,manage,orrunalaunchconfigurationtostartanapplicationinavirtualmachine.Beforeyou
begin,makesurethevirtualmachineispoweredon.
To set debug configuration settings to start applications in a virtual machine
1 ChooseRun>DebugConfiguration.
2IntheVirtualMachineOptionssection,selecttheMaintabtocreateoredittheVirtualMachinePath,
GdbserverPat
h,orStartFromSnapshottextbox.
TosetaVirtualMachinePath,clickBrowseandselectarecentlyusedvirtualmachines.
TosetaGdbserverpath,clickBrowseandselectpathtothegdbserverexecutablefile.
(Optional)Toreverttothemostrecentsnapshotbeforetheapplicationislaunched,clicktheStart
FromSnapshotcheckboxandenteryourlogincredentialsintheAuthenticationdialogbox.
ClickRefreshtorefreshthecurrentsnapshotlist.
3 (Optional)IntheVirtualMachineOptionssection,selecttheSharedFolderstabtoadd,ed
it,orremove
sharedfoldersbetweenthehostandtheguestsystems.Foreachfolder,enterthefoldernameandthehost
pathlocationonthehostsystem.Bydefault,theprojectfolderisshared.
4 (Optional)IntheVirtualMachineOptionssection,selecttheScriptstabtorunscriptbeforelaunchingand
aft
erterminatingtheapplication.
IntheBeforeLaunch,Runscripttextbox,enteroneormoreshellcommandstorunintheguest
operatingsystembeforetheapplicationislaunched.
SelectAfterTermination,Runscripttextbox,enteroneormoreshellcommandstorunintheguest
operatingsystemaftertheapplicationhasterminated.
Nosyntaxcheckingisperformed.Eitherenteronecommandperline,orentermultiplecommands
onthesamelineusingasemicolonasaseparator.
5TomaketheEc
lipsedebugginguserinterfaceavailablefordebugging,selecttheDebuggertabandsetthe
GDBdebuggerpath.
IntheMaintab,tocompletetheGDBdebuggertextboxclickBrowseandselectpathtothegdb
executablefile.
IntheMaintab,acceptthedefaultvalueintheGDBcommandfiletextbox.
6ClickApply.
Afteryoucreatealaunchconfiguration,itappearsintheleftpane.
Delete a Configuration
Ifyoudonotneedaconfigurationorwanttoclearmemoryspace,youcandeletetheconfiguration.
To remove a configuration
1 ChooseRun>DebugConfiguration.
2Intheleftpane,selecttheconfigurationsthatyouwanttodeleteandclicktheDeleteselectedlaunch
configuration(s)iconatthetopofthepane.
Seitenansicht 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 26

Kommentare zu diesen Handbüchern

Keine Kommentare