Click or drag to resize
GeneralRulesLogDebugValue Method
Write a number to the debug output and move to the next line.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual void LogDebugValue(
	int DebugValue
)

Parameters

DebugValue
Type: SystemInt32
Specifies a numeric value to be logged to the output
Remarks

By default, the debug output is reset each frame, so in order to force a piece of debug output to be visible long enough to see it, it must be logged during each frame.

Debug output is drawn to the display in OutputDebugInfo, which is called from the main game loop in Run. The behavior of debug output can be customized there.

This function is often used in conjunction with LogDebugLabel(String) because LogDebugLabel(String) leaves the position of the output on the same line allowing for a label to be provided on the same line as the value.

Examples
See LogDebugLabel(String) for an example
See Also