Ask Your Question

How can I debug Swift in Eclipse?

asked 2013-05-14 07:24:18 -0500

Allen_Tung gravatar image

updated 2013-05-14 19:38:46 -0500

smaffulli gravatar image

I am new to Openstack and I wanna get a closer look into the Swift component. Now I hava got Eclipse and the Pydev attached to it, plus I am using Ubuntu12.04. Moreover I have download the latest source code of swift-master 1.8.1 from github.

How on earth could I debug Swift in Eclipse? For example, add a breakpoint and debug the process step by step?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-05-14 19:51:30 -0500

notmyname gravatar image

Swift is a distributed system, so running it locally in an IDE's debugger doesn't make a lot of sense. Perhaps a better idea would be to set up a Swift All In One (SAIO) as described in and examining logs or adding logging to where you are looking for more info.

You can find a lot of info on how Swift works at and at

edit flag offensive delete link more


Thx so much for your advice.Before this,I've managed to setup a SAIO on my own PC,as well as a cluster consists of 25 nodes(all physical machines).So in some way I've known how Swift works from the whole picture.I just feel it's not enough cause I am trying to do some customized development.

Allen_Tung gravatar imageAllen_Tung ( 2013-05-14 20:13:04 -0500 )edit

Before Swift,I learned the source code of Cassandra by running it in Eclipse using the debug-like way.Is there any chance that I could start up the service of SAIO(proxy,account,container,object server etc.)in IDE and then get access to them via a client wrote by myself?

Allen_Tung gravatar imageAllen_Tung ( 2013-05-14 20:18:57 -0500 )edit

answered 2015-07-01 02:31:24 -0500

whg gravatar image

updated 2015-07-01 02:33:01 -0500

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-05-14 07:24:18 -0500

Seen: 3,329 times

Last updated: Jul 01 '15