Debug mode not working properly [message #1252662] |
Fri, 21 February 2014 13:07 |
Raymond Rainskis Messages: 3 Registered: February 2014 |
Junior Member |
|
|
Hi, I'm new to java programming and Eclipse, and I've run into an odd problem. After a quick google search I didn't find anything that would solve my problem, so here I am. I've started making a simple 2D game, and the problem I'm having at the moment is that I can only run the project properly in the regular 'run' mode, but not in Debug mode. The program ends up suspending a thread responsible for rendering the screen at the point where it has to clear the screen, using a for loop
public void clear() {
for (int i = 0; i < pixels.length; i++) {
pixels[i] = 0;
}
}
It suspends the thread at entry into the method clear(). I can provide additional information, but, being the newb I am, I don't know what's needed or not. Help would be greatly appreciated.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08058 seconds