Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Avast Internet Security blocks eclipse debug mode(Avast Internet Security blocks eclipse debug mode)
Avast Internet Security blocks eclipse debug mode [message #1178101] Sat, 09 November 2013 11:39 Go to next message
Med Medin is currently offline Med MedinFriend
Messages: 1
Registered: November 2013
Junior Member
Before installing Avast Internet Security i was able to run and debug my application in eclipse (version Juno) without problems, but after installing Avast Internet Security i can run my application but i can't debug it, in the fact when i click on F11 to launch debug i get the following error :

Launching MyApplication has encountered a problem.
Cannot connect to VM
Details:
Cannot connect to VM
com.sun.jdi.connect.TransportTimeoutException

And in console window it's displayed:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: connect failed: Connection timed out
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]


I suspect that Avast firewall is blocking access to debug mode of the local Virtual machine (jdk1.6.0_25) or when installing avast the setup has modified some Windows system configuration.
Re: Avast Internet Security blocks eclipse debug mode [message #1179034 is a reply to message #1178101] Sun, 10 November 2013 02:38 Go to previous messageGo to next message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
I am having the exact same symptom. I disabled the Avast Firewall and I was able to debug in Kepler for a few minutes. Then the error started up again and I can't debug even though the Avast firewall and file system protection are temporarily disabled. I tried restarting Eclipse but am still having the problem.

Update - my situation is slightly different. I have been using Avast Security for longer than I've been using Eclipse. I started back in January with Juno but now am using Kepler. I did not have any problem with Eclipse debugging until recently. It's hard to tell when the problem started because I have been working with Xtext and Xtend and I wasn't using the Java debugger until just a few days ago.

Also it seems there was a major upgrade to Avast in the past month so there's still a possibility there's a relationship. However all of the articles I read about the debug port in Eclipse related to remote debugging, which I am not doing. I'm just trying to debug my application on my local machine.

[Updated on: Tue, 12 November 2013 11:06]

Report message to a moderator

Re: Avast Internet Security blocks eclipse debug mode [message #1182727 is a reply to message #1179034] Tue, 12 November 2013 11:21 Go to previous messageGo to next message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
Looked like a similar issue here:

http://stackoverflow.com/questions/7487526/unable-to-debug-in-java-with-eclipse

However I can ping 127.0.0.1 and localhost by name, so that's not the issue. I'm using Windows 7.

Quote:
C:\Users\Tahoe>java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

[Updated on: Tue, 12 November 2013 11:22]

Report message to a moderator

Re: Avast Internet Security blocks eclipse debug mode [message #1183768 is a reply to message #1182727] Wed, 13 November 2013 03:00 Go to previous messageGo to next message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
I also checked this, which recommends using JDK instead of JRE. Didn't make any difference.

http://www.myeclipseide.com/PNphpBB2-viewtopic-t-20684.html
Re: Avast Internet Security blocks eclipse debug mode [message #1184582 is a reply to message #1183768] Wed, 13 November 2013 14:57 Go to previous messageGo to next message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
I uninstalled AVast and now miraculously, debugging is working again! Time to find a new AV, unless they can fix this really quick.
Re: Avast Internet Security blocks eclipse debug mode [message #1184646 is a reply to message #1184582] Wed, 13 November 2013 15:46 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 11/13/2013 07:57 AM, Gary Worsham wrote:
> I uninstalled AVast and now miraculously, debugging is working again!
> Time to find a new AV, unless they can fix this really quick.

AVG works for me.
Re: Avast Internet Security blocks eclipse debug mode [message #1186418 is a reply to message #1184646] Thu, 14 November 2013 17:47 Go to previous messageGo to next message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
Hmm I just tried AVG trial on my several years old Win 7 laptop, and it slows Eclipse to a crawl (apparently). I'll wait the 30 days to see if Avast gets it cleared up.
Re: Avast Internet Security blocks eclipse debug mode [message #1219924 is a reply to message #1186418] Fri, 06 December 2013 19:26 Go to previous messageGo to next message
Dilton McGowan II is currently offline Dilton McGowan IIFriend
Messages: 110
Registered: July 2009
Senior Member
On Thu, 14 Nov 2013 12:47:48 -0500, Gary Worsham wrote:

> Hmm I just tried AVG trial on my several years old Win 7 laptop,
and it slows Eclipse to a crawl (apparently). I'll wait the 30
days to see if Avast gets it cleared up.

It might be worth giving Ubuntu Linux a try. Eclipse runs great on it.
Re: Avast Internet Security blocks eclipse debug mode [message #1278544 is a reply to message #1219924] Thu, 27 March 2014 13:33 Go to previous message
Manassés Souza is currently offline Manassés SouzaFriend
Messages: 1
Registered: March 2014
Junior Member
I'm having the same issue on Ubuntu Linux 12.04 with no Avast AV previous installation, so eclipse-kepler is not running great on it...
Previous Topic:Eclipse 'Default theme' for Luna.
Next Topic:Need help in testing RESTFUL SERVICE PATCH
Goto Forum:
  


Current Time: Thu Apr 25 10:39:23 GMT 2024

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

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

Back to the top