Page 1 of 1

Debug connection actively refused

Posted: Tue Jul 29, 2008 5:38 pm
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

Re: Debug connection actively refused

Posted: Tue Jul 29, 2008 8:08 pm
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.

Re: Debug connection actively refused

Posted: Wed Jul 30, 2008 5:38 am
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.