[Dev] howto run/debug ZipTie from Eclipse

Leo Bayer lbayer at alterpoint.com
Thu Mar 27 16:31:10 CDT 2008


To debug the server you still run it from the command line like this...
 ./server.sh -debug

The debug switch will enable the debugger on port 8787.

To debug the client there is a launch configuration checked in under 
/Build/launches.

 - Leo

Rita Machado wrote:
> Hi Ryan,
>
> Thank you very much for the answer!
>
> But I need to debug step-by-step the application, both the server and
> the client. So, is there a way to start the server and the client
> directly from Eclipse, instead of from the command-line? If this is the
> case, where could I set breakpoints in the server/client? I mean, where
> would be the best place (method) to set an initial breakpoint in the
> server/client?
>
> Thanks a lot again!
> Rita Machado.
>
>
> Ryan Kruse wrote:
>   
>> Hi Rita,
>>
>> If you've successfully compiled then you'll have "dist/server" and "dist/client" folders.
>>
>> To start the server on linux...
>> dist/server/server.sh -debug
>>
>> To start the client on linux...
>> dist/client/linux/ziptie
>>
>> If you want to debug the server you can attach a remote debug application from your Eclipse workspace to localhost:8787.
>>
>> Let us know if you want more details.  Also, you can join us in the IRC if you want more interactive help.
>> http://ziptie.org/irc
>>
>> -Ryan
>>
>> -----Original Message-----
>> From: dev-bounces at ziptie.org [mailto:dev-bounces at ziptie.org] On Behalf Of Rita Machado
>> Sent: Thursday, March 27, 2008 3:14 PM
>> To: dev at ziptie.org
>> Subject: [Dev] howto run/debug ZipTie from Eclipse
>>
>> Hello everybody,
>>
>> I have just downloaded and compiled the ZipTie source code but I don't know how to run/debug the application from Eclipse. Is there any document that explains that? I couldn't find any howto about this subject.
>>
>> Thanks in advance!
>> Rita.
>> _______________________________________________
>> Dev mailing list
>> Dev at ziptie.org
>> http://mailman.ziptie.org/listinfo/dev
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at ziptie.org
>> http://mailman.ziptie.org/listinfo/dev
>>
>>
>>     
>
> _______________________________________________
> Dev mailing list
> Dev at ziptie.org
> http://mailman.ziptie.org/listinfo/dev
>   


More information about the Dev mailing list