IBasicRobotPeer SetDebugProperty Method Robocode Robot API for .NET
Sets the debug property with the specified key to the specified value.

This method is very useful when debugging or reviewing your robot as you will be able to see this property displayed in the robot console for your robots under the Debug Properties tab page.

Namespace: Robocode.RobotInterfaces.Peer
Assembly: robocode (in robocode.dll) Version: 1.9.2.0
Syntax

void SetDebugProperty(
	string key,
	string value
)

Parameters

key
Type: OnlineSystem String
The name/key of the debug property.
value
Type: OnlineSystem String
The new value of the debug property, where null or the empty string is used for removing this debug property.
See Also