Debug connection actively refused

Topics for the Eclipse Environment
Post Reply
jkovach
Posts: 11
Joined: Tue Jul 29, 2008 5:30 pm

Debug connection actively refused

Post by jkovach »

From time to time when I try to run debug after building a new project to import an example, I get the error message:Error creating session: 192.168.0.104:2159: No connection could be made because the target machine actively refused it.

I have check all known settings, including the debug connection IP to no avail. The application can be downloaded and run fine.

JK
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Debug connection actively refused

Post by rnixon »

Sounds like to didn't start the gdb stub task in your app. There is a description on how to do this in the eclipse getting started guide in the debug section.
jkovach
Posts: 11
Joined: Tue Jul 29, 2008 5:30 pm

Re: Debug connection actively refused

Post by jkovach »

Thanks for the reply.

You are correct.

The newbe mistake was that I assumed that examples were written to allow users to run debug and watch what is happening. I was importing examples and trying to run debug before reading all the code.

When I looked into main I found that the example I was importing didn't have the #include <networkdebug.h> nor the the call to start debug.
Post Reply