You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should discuss debugging of these bots a bit more:
Game engine only provides nullpointer exceptions when a bot crashes, instead of a detailed exception message. How I usually debug this:
Run bot separately, e.g. python SomeBot.py, and check whether we get syntax errors
Do same as above, and type go sometext, and check whether there is some other error
If bot still doesnt work, add lots of pw.log statements, and see which ones print, and which ones do not.
We should:
put this in the documentation
discuss between us how this influences this course. The debugging troubles increases the dependencies on the course supervisors, decreases the enjoyment of many students, and increases their frustration ;)
The text was updated successfully, but these errors were encountered:
We should discuss debugging of these bots a bit more:
Game engine only provides nullpointer exceptions when a bot crashes, instead of a detailed exception message. How I usually debug this:
python SomeBot.py
, and check whether we get syntax errorsgo sometext
, and check whether there is some other errorWe should:
The text was updated successfully, but these errors were encountered: