Red Hat ENTERPRISE LINUX 4 - DEBUGGING WITH GDB Specifikace Strana 15

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 26
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 14
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.
Zobrazit stránku 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 25 26

Komentáře k této Příručce

Žádné komentáře