Specifications
Integrated Virtual Debugger for Eclipse Developer’s Guide
22 VMware, Inc.
Solutions
Thefollowingactionsprovidesolutionsforeachofthecauses:
Turnoffthefirewallintheguest.
Makesurethatnetworkingisenabledandfunctionalintheguest.
Poweronthevirtualmachineandstartadebuggingsession.
Runthefollowingcommand:
./eclipse -vmargs -Dorg.eclipse.swt.internal.gtk.disablePrinting
Debugging Session Fails to Start and Protocol Error Appears
Problem
Adebuggingsessionfailstostart,andtheerrormessageProtocolErrorortheerrormessagecan't execvp
/mnt/hgfs/gdbserverDirectory/gdbserverappears.TheerrorappearsonanyLinux64‐bithostwithany
32‐bitLinuxguest.
Solution
Toworkaroundthisissue,switchtoany64‐bitLinuxguestandstartadebuggingsession.
Eclipse Fails When You Start a Debugging Session
Problem
TheEclipseapplicationfailswhenyoustartadebuggingsession.
Cause
ThecausemightbethattheEclipseandSWT(GUItoolkit)areincompatible.
Solution
Toworkaroundthisissue,runthefollowingEclipsecommand:
./eclipse -vmargs -Dorg.eclipse.swt.internal.gtk.disablePrinting
Reverting to the Recent Snapshot Stops Responding
Problem
TheEclipseapplicationstopsrespondingwhentheStartfromSnapshotcheckboxisselected.
Cause
TheEclipseapplicationiswaitinguntilthevirtualmachineispoweredon.
Solution
MakesurethatthevirtualmachineispoweredonbeforeyouselecttheStartfromSnapshotoption.
Log in Authentication Error on the Guest
Problem
Whenyouprovideyourauthenticationinformationtologintotheguest,youreceiveanerrormessagethat
tellsyoutologininteractivelyfromtheguest.
Causes
Thefollowingissuesarethemaincauses:
TheJavaorCandC++plug‐inwasunabletologin.
Theaccountusedhasnopasswordprotection.