Skip to content

Discuss debuggin #3

@LaurensRietveld

Description

@LaurensRietveld

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions