Debugging broken in 3526

I just tried debugging an application using build 3526 and got the following errors:

Error in connect() call!
err:: Connection refused
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
FATAL ERROR in native method: No transports initialized


Anyone else see this? Is there something that changed WRT debugging applications or is debugging broken in build 3526?

6 comments

Debugging the same code on my G5 works on build 3526, so the problem must be with my laptop and not with Idea.

0

You don't mention which system you're on. On Windows you can set the debugger to use shared memory transport. That did the trick for me.

0

Sorry, I'm running on a Mac, OS X 10.4.2 with the 1.4.2 VM.

0

I had this yesterday, and it turned out to be my firewall stopping incoming connections to IDEA.

0

One more thing: Make sure that your hostname resolves. Otherwise it won't work.

That is: some routers (e.g. draytek) assign a dynamic hostname (e.g. dhcp99) to your machine but nslookup dhcp99 fails.

0

I found the problem. It was only happening when my cellular modem was up and operational as my default internet connection. When the connection is established by the vendors software, it sets the host name (which does resolve) and it sets the ppp interface to a dynamic address (which also resolves). The software also alters the routing tables, pointing the the entire address space where it got the dynamic IP address from back at the machine on the other end of the ppp connection. I added a host route to my routing table that points the dynamic address I was assigned back to the loopback interface and bingo, debugging an application from within Idea works again.

0

Please sign in to leave a comment.