[PLUG] Ubuntu and Eclipse cannot connect to VM

Robert Anderson riznob at gmail.com
Thu Dec 29 18:21:54 UTC 2005


On 12/28/05, Chris Genly <chgenly at verizon.net> wrote:
>
> My guess would be that you are having a firewall problem.  Eclipse tries
> to make a tcp connection to the vm running the program to be debugged.
>
> Chris
>
> ted kubaska wrote:
>
> >Has anyone used Eclipse with Breezy?
> >
> >It installed and runs simple Java programs, but I cannot stop at a
> >breakpoint. I get the message "Cannot connect to VM."
> >
> >I have Eclipse Version 3.1.1. I got it by running gnome-app-install and
> >choosing Eclipse under Programming.
> >
> >Google returns lots of people saying they've encountered the same
> >problem. But I haven't come across a solution that works and makes
> >sense.
> >
> >Is there anyone out there running Eclipse on Breezy and stopping at
> >breakpoints?
> >
> > -Ted
> >
> >
> >
> >
> >_______________________________________________
> >PLUG mailing list
> >PLUG at lists.pdxlinux.org
> >http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> >
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

You must also start the VM you intend to debug with some options to allow a
remote debugger to connect. I don't have the details in front of me, but you
should be able to find them easily. Are you trying to debug a webapp? If so
you will need to configure the appserver you are using to allow a debugger
to connect. For a standalone app it's just a couple command line args.

--
Rob Anderson
riznob at gmail.com



More information about the PLUG mailing list