Hmmm.. I can't make any sense of them though :/
How am I supposed to interpret console messages?
Type: Posts; User: Josh Yaxley
Hmmm.. I can't make any sense of them though :/
How am I supposed to interpret console messages?
Well I've had a look and the message it shows when the game freezes is this:
Exception in thread "Thread-21" java.lang.ArrayIndexOutOfBoundsException: 19
at Main.run(Main.java:192)
at...
Oh wait I've figured out how to use the console but it gives me a reallyyyyy long message, shall I copy and paste all of it?
There is a terminal but I've never used it.
When I want to run my code I just use the run option in BlueJ
I've told you already it doesn't seem to write anything to the console which is why I programmed my own debug messaging into the code so that I could see whereabouts it was freezing.
If it helps...
The console doesn't show anything, that's why I had to program my own debug messaging thing (basically just "message = 'string';" and "g.drawString(message,x,y);".
The errors I get are the ones...
Okay I've updated my first post to show some of the error messages.
And the whole "breaking the loop" thing isn't actually necessary (because the for loop will end anyway) it was just something I...
Normal output would be "First loop broken" because this is at the end of the code, so when it is running normally it displays "First loop broken".
However, when the game freezes, it displays a...
Normal output would be "First loop broken" because this is at the end of the code, so when it is running normally it displays "First loop broken".
However, when the game freezes, it displays a...
The game runs as an applet and for some reason println() doesn't seem to work with it, so instead I draw the debug messages to the screen.
I'll just play the game a bit until I get an error to...
Okay, I've had this error for days and I just cannot place how to fix it.
To pinpoint where the error was I put in debug messages in my code so that I knew where in the code it was freezing....