Debug Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a set of methods and properties that help you debug your code.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT..::..Debug
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public NotInheritable Class Debug
public static class Debug
public ref class Debug abstract sealed
[<AbstractClass>]
[<Sealed>]
type Debug = class end
public final class Debug
The Debug type exposes the following members.
Methods
Name | Description | |
---|---|---|
Assert(Boolean) | Causes a break in execution if the specified assertion (condition) evaluates to false. | |
Assert(Boolean, String) | Causes a break in execution if the specified assertion (condition) evaluates to false. | |
Assert(Boolean, String, String) | Causes a break in execution if the specified assertion (condition) evaluates to false. | |
EnableGCMessages | Specifies whether garbage collection messages are enabled. | |
GC | Runs garbage collection, a service that automatically reclaims unused computer memory. | |
Prints a message (followed by the current line terminator) to the standard output stream. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.