Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Windows Vista - cannot Debug
Windows Vista - cannot Debug [message #267577] Thu, 08 January 2009 22:35 Go to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

i've got a big problem with eclipse running with windows vista with
current version of java.

if i try to debug i get a message: "Cannot connect to VM
select failed"

what can i do to fix this problem?

kind regards
Tibes
Re: Windows Vista - cannot Debug [message #267579 is a reply to message #267577] Fri, 09 January 2009 02:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

What version of Eclipse?
What version of Java?
64-bit or 32-bit?
What version of Vista?

You have to give a little to get a little. :)

Tibes wrote:
> Hi,
>
> i've got a big problem with eclipse running with windows vista with
> current version of java.
>
> if i try to debug i get a message: "Cannot connect to VM
> select failed"
>
> what can i do to fix this problem?
>
> kind regards
> Tibes
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: Windows Vista - cannot Debug [message #267584 is a reply to message #267579] Fri, 09 January 2009 07:45 Go to previous messageGo to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
oh sorry, i forgot to write more information about windows..

What version of Eclipse?
Version: 3.4.1
Build id: M20080911-1700

(http://rafb.net/p/u6bvrf55.html) info file

What version of Java?
##java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

64-bit or 32-bit?
32bit

What version of Vista?
Windows Vista Home Premium
Re: Windows Vista - cannot Debug [message #267621 is a reply to message #267577] Fri, 09 January 2009 18:11 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

Hi,

You should check that your firewall is not blocking the port used by the
JVM debug mechanism...

Benjamin

Tibes a écrit :
> Hi,
>
> i've got a big problem with eclipse running with windows vista with
> current version of java.
>
> if i try to debug i get a message: "Cannot connect to VM
> select failed"
>
> what can i do to fix this problem?
>
> kind regards
> Tibes
>


Re: Windows Vista - cannot Debug [message #267623 is a reply to message #267577] Fri, 09 January 2009 20:29 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Tibes" <blogdde@googlemail.com> wrote in message
news:711576d88fecf3809ec42fc9b14b0530$1@www.eclipse.org...
> Hi,
>
> i've got a big problem with eclipse running with windows vista with
> current version of java.
>
> if i try to debug i get a message: "Cannot connect to VM
> select failed"
>
> what can i do to fix this problem?

I have sometimes had problems debugging, even locally, when a firewall or
VPN interfered. I guess that the IDE connects to the VM being debugged by
opening a port and sometimes the firewall doesn't like that.

So, since Vista seems to be paranoid schizophrenic, maybe the Vista firewall
is causing you problems. You might want to play with its settings.
Re: Windows Vista - cannot Debug [message #267627 is a reply to message #267623] Fri, 09 January 2009 22:03 Go to previous messageGo to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
my vista firewall is not active, just my antivirus (nod32) is up and
running (no vpn or something similiar)...

now i try to check my network settings and routings, maybe there is
something wrong
Re: Windows Vista - cannot Debug [message #267635 is a reply to message #267577] Sun, 11 January 2009 12:21 Go to previous messageGo to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
now i tried almost anything i can imagine..

Antivirus, windows firewall, vpn everything is switched off, but no
chance... :(

"C:\Program Files\Java\jre1.6.0_07\bin\javaw.exe"
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:60923
-Dfile.encoding=Cp1252 "-Xbootclasspath:C:\Program
Files\Java\jre1.6.0\lib\resources.jar;C:\Program
Files\Java\jre1.6.0\lib\rt.jar;C:\Program
Files\Java\jre1.6.0\lib\jsse.jar;C:\Program
Files\Java\jre1.6.0\lib\jce.jar;C:\Program
Files\Java\jre1.6.0\lib\charsets.jar;C:\Program
Files\Java\jre1.6.0\lib\ext\dnsns.jar;C:\Program
Files\Java\jre1.6.0\lib\ext\localedata.jar;C:\Program
Files\Java\jre1.6.0\lib\ext\sunjce_provider.jar;C:\Program
Files\Java\jre1.6.0\lib\ext\sunmscapi.jar;C:\Program
Files\Java\jre1.6.0\lib\ext\sunpkcs11.jar" -classpath
C:\Users\Stefan\workspace\Uebungen\bin Zusatzaufgaben_Blatt3_Aufgabe3

thats my command line, which i can see in the properties from the task..
Re: Windows Vista - cannot Debug [message #267644 is a reply to message #267635] Mon, 12 January 2009 07:08 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Stefan "König"" <blogdde@googlemail.com> wrote in message
news:d5a3940f1abd853ebfafb496b476bccb$1@www.eclipse.org...
> now i tried almost anything i can imagine..
>
> Antivirus, windows firewall, vpn everything is switched off, but no
> chance... :(
>
> "C:\Program
> Files\Java\jre1.6.0_07\bin\javaw.exe" -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:60923
> -Dfile.encoding=Cp1252 "-Xbootclasspath:C:\Program
> Files\Java\jre1.6.0\lib\resources.jar;C:\Program
> Files\Java\jre1.6.0\lib\rt.jar;C:\Program
> Files\Java\jre1.6.0\lib\jsse.jar;C:\Program
> Files\Java\jre1.6.0\lib\jce.jar;C:\Program
> Files\Java\jre1.6.0\lib\charsets.jar;C:\Program
> Files\Java\jre1.6.0\lib\ext\dnsns.jar;C:\Program
> Files\Java\jre1.6.0\lib\ext\localedata.jar;C:\Program
> Files\Java\jre1.6.0\lib\ext\sunjce_provider.jar;C:\Program
> Files\Java\jre1.6.0\lib\ext\sunmscapi.jar;C:\Program
> Files\Java\jre1.6.0\lib\ext\sunpkcs11.jar" -classpath
> C:\Users\Stefan\workspace\Uebungen\bin Zusatzaufgaben_Blatt3_Aufgabe3
>
> thats my command line, which i can see in the properties from the task..

Hmm, it's interesting that the output of 'java' (in your earlier post) said
1.6.0_11, but javaw is saying 1.6.0_07.

Since the obvious things have not helped, it may be time to start very
systematically. If you create a fresh workspace, and create a simple "hello
world" program in Java, and put a breakpoint in it and Debug, does it work?

If that doesn't work, I think I might back up even further, by downloading a
fresh copy of Eclipse and installing it into a fresh directory... maybe a
fresh copy of the JDK as well, and make sure to point Eclipse explicitly to
that JDK in the eclipse.ini file.
Re: Windows Vista - cannot Debug [message #267645 is a reply to message #267644] Mon, 12 January 2009 07:53 Go to previous messageGo to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
hello again,

now i tried to reinstall jdk and using a new copy of eclipse.. the same
problem.

here is my eclipse.ini file

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m

and the config.ini

#This configuration file was written by:
org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
#Thu Jan 08 23:23:47 CET 2009
osgi.launcherPath=.
org.eclipse.update.reconcile=false
eclipse.p2.profile=PlatformProfile
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins\\org.eclipse.osgi_3.4.2.R34x_v2 0080826-1230.jar
eclipse.buildId=M20080911-1700
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator\\bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.launcherIni=eclipse
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4

regards
Re: Windows Vista - cannot Debug [message #267670 is a reply to message #267645] Tue, 13 January 2009 07:01 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Stefan "König"" <blogdde@googlemail.com> wrote in message
news:403b48939a8e5637132bc2f3ab180255$1@www.eclipse.org...
> hello again,
>
> now i tried to reinstall jdk and using a new copy of eclipse.. the same
> problem.

I'm sure this is extremely frustrating - my sympathies.

Just to confirm, did you also do the other steps I suggested, starting a
fresh workspace, creating a simple "hello world" Java program, setting a
breakpoint in it, and running Debug As... to see if you hit the breakpoint?
When you do that, are you still getting the "failure to attach"?
Re: Windows Vista - cannot Debug [message #267701 is a reply to message #267670] Tue, 13 January 2009 18:12 Go to previous messageGo to next message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
Just to confirm, did you also do the other steps I suggested, starting a
fresh workspace, creating a simple "hello world" Java program, setting a
breakpoint in it, and running Debug As... to see if you hit the breakpoint?
When you do that, are you still getting the "failure to attach"?

yap,

1. i reinstalled JDK
2. downloading a new copy of eclipse
3. creating a new workspace with eclipse
4. writing a hello world
5. the same error

if i can't get it to work, i'll try to reinstall my OS next weekend..
Re: Windows Vista - cannot Debug [message #267721 is a reply to message #267701] Wed, 14 January 2009 16:44 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
"Stefan "König"" <blogdde@googlemail.com> wrote in message
news:dd86087272cb69f0b05d89fce726821c$1@www.eclipse.org...
> if i can't get it to work, i'll try to reinstall my OS next weekend..

Maybe you should install the Win7 beta, instead :-)

I know we do of course have Vista users who are able to debug, but I don't
use Vista myself so I'm not sure what to say beyond what's already been
suggested. Sorry!
Re: Windows Vista - cannot Debug [message #267728 is a reply to message #267721] Wed, 14 January 2009 18:54 Go to previous message
Stefan KÃ?¶nig is currently offline Stefan KÃ?¶nigFriend
Messages: 8
Registered: July 2009
Junior Member
... no more beta testing for free :D

i want to use debian, but my notebook is not 'compatible' with debian, a
lot of missing drivers :(

thanks for your help... i will write again if a reinstall of vista solved
the problem...
Previous Topic:How do I make my directories appear normal again?
Next Topic:Macro's associated with context menus?
Goto Forum:
  


Current Time: Fri Mar 29 10:04:24 GMT 2024

Powered by FUDForum. Page generated in 0.05736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top