Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a multiplayer game which should be tested on two devices at the same time, if possible, with debugging.

Can eclipse do this? If so, how?

share|improve this question
    
have you tested to debug the game on two machines? so that you have two computers running ecplise and debuging? –  Tordin Feb 15 '13 at 14:46
    
I don't have 2 machines to do so, evenso i do not want to copy the eclipse project to another machine every testrun. I use TFS for source control but constantly checking in /out is still time consuming. I't would be perfect if eclipse can do it. Also I've thought about using a virtual machine for a second eclipse install. But, as I said this is far from optimal. –  Thomas Feb 15 '13 at 15:12
    
indeed it is. just a idea from the box :) –  Tordin Feb 15 '13 at 15:19
    
Well it is a solution to my problem, be it not the most optimal. Maybe in the future when there are more developers working on the project this will be the way to go. –  Thomas Feb 15 '13 at 16:06
1  
Ideally you'd want to ask "How can I do this?", since the answer would be "You can't" or "This is how...". The available answers to your current question are "No" or "Yes". Just a thought. –  Byte56 Feb 15 '13 at 17:45
add comment

1 Answer

up vote 6 down vote accepted

Yes, you need to select each device in the DDMS perspective to get the LogCat output from the relevant device because that window is on a per device basis, but other than that there's nothing preventing you from debugging multiple instances at once.

share|improve this answer
    
Sounds great, I will try it as soon as possible. Thanks! –  Thomas Feb 15 '13 at 16:05
1  
I used this a lot while testing the multiplayer aspects of my game, you kind of have to get used to hitting breakpoints on different running instances but the Debug view is your friend for that. –  bornander Feb 15 '13 at 16:09
    
hmm i first need to find out why my breakpoints are not hitting while my game is running :) If you are used to vs2010 eclipse can be such a **** –  Thomas Feb 15 '13 at 17:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.