Debugging

Good Practices

To prevent a clog up in the TCP connection between both programs some good practices would include:

  • Run the program in DEBUG mode not RUN mode.

The image above demonstrates what to use to run the program for a better socket connection.

Telemetry

You can use the telemetry feature for debugging purposes. This will pop up on the

This is where the telemetry will update
//Inside Your OpMode
telemetry.addData(string caption, string message)

System.out.println(String item)

You can also use this to output information using System.out.println

This is where System.out.println() information goes.

Here is an additional resource to understand this function more:

Last updated

Was this helpful?