-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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 ;)
Metadata
Metadata
Assignees
Labels
No labels