I'm having a very weird problem in Eclipse during debugging. I know that it is probably my error, but I can't figure out where, so I decided to ask for your help.
To explain the problem that I'm facing is a little but hard, but I'll try my best so bare with me on this one.
First of all, I have uploaded my project source files, so that anybody willing to help, is able to.
I'm creating a tetris like game, and I'm a beginner so, if anybody has some advice about my code writing feel free to tell me, however my problem is priority.
I put the breakpoint on line 251 in file ShapeCoordinator.java. The problem is, if my shape is able to rotate(there are no blocks in vicinity),
it successfully goes to this line, however if for example we have following situation (check attached image), the L shape on the left side shouldn't be able to rotate,
debug doesn't go to the above mentioned line because it's inside the condition which returns false (this behavior is correct), problem is that my shape gets turned anyway.
I can't figure out why my shape get's turned (second attached image). I tried to put breakpoints on other lines as well, however I'm unable to catch the breakpoint.
Probably it's my fault somewhere, however I'm unable to figure it out.
Thanks in advance for your help, and if you need some other info please feel free to ask.
Joined: Feb 06, 2012
OK, guys. My bad. I found a problem. Thanks anyway.