Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discuss debuggin #3

Open
LaurensRietveld opened this issue Jan 27, 2015 · 0 comments
Open

Discuss debuggin #3

LaurensRietveld opened this issue Jan 27, 2015 · 0 comments

Comments

@LaurensRietveld
Copy link
Member

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 ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant