icyjj10
2010-09-19 11:52:52 UTC
Hello
I have been building a robot, but have found that it freezes a few seconds after it runs. I am pretty sure that this is because of a runtime error in the javavm, but I don't know how I can see the error output. How would I go about debugging the robot and seeing the runtime error? I'm pretty sure the error comes from a division by zero somewhere, but I would really like to know the line it occurs on.
I am not using eclipse by the way, so I might need to do it the manual way, using System.out.println to print to the robot window. Is there a better way?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)
<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
I have been building a robot, but have found that it freezes a few seconds after it runs. I am pretty sure that this is because of a runtime error in the javavm, but I don't know how I can see the error output. How would I go about debugging the robot and seeing the runtime error? I'm pretty sure the error comes from a division by zero somewhere, but I would really like to know the line it occurs on.
I am not using eclipse by the way, so I might need to do it the manual way, using System.out.println to print to the robot window. Is there a better way?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)
<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/