public class Debug extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.Debug
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Diagnostics.Debug
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Debug() |
Debug(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Assert(boolean condition) |
static void |
Assert(boolean condition,
java.lang.String message) |
static void |
Assert(boolean condition,
java.lang.String message,
java.lang.String detailMessage) |
static void |
Assert(boolean condition,
java.lang.String message,
java.lang.String detailMessageFormat,
NetObject... args) |
static Debug |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Debug, a cast assert is made to check if types are compatible. |
static void |
Close() |
static void |
Fail(java.lang.String message) |
static void |
Fail(java.lang.String message,
java.lang.String detailMessage) |
static void |
Flush() |
static boolean |
getAutoFlush() |
static int |
getIndentLevel() |
static int |
getIndentSize() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static void |
Indent() |
static void |
Print(java.lang.String message) |
static void |
Print(java.lang.String format,
NetObject... args) |
static void |
setAutoFlush(boolean AutoFlush) |
static void |
setIndentLevel(int IndentLevel) |
static void |
setIndentSize(int IndentSize) |
void |
setJCOInstance(JCObject instance) |
static DebugProvider |
SetProvider(DebugProvider provider) |
static void |
Unindent() |
static void |
Write(NetObject value) |
static void |
Write(NetObject value,
java.lang.String category) |
static void |
Write(java.lang.String message) |
static void |
Write(java.lang.String message,
java.lang.String category) |
static void |
WriteIf(boolean condition,
NetObject value) |
static void |
WriteIf(boolean condition,
NetObject value,
java.lang.String category) |
static void |
WriteIf(boolean condition,
java.lang.String message) |
static void |
WriteIf(boolean condition,
java.lang.String message,
java.lang.String category) |
static void |
WriteLine(NetObject value) |
static void |
WriteLine(NetObject value,
java.lang.String category) |
static void |
WriteLine(java.lang.String message) |
static void |
WriteLine(java.lang.String format,
NetObject... args) |
static void |
WriteLine(java.lang.String message,
java.lang.String category) |
static void |
WriteLineIf(boolean condition,
NetObject value) |
static void |
WriteLineIf(boolean condition,
NetObject value,
java.lang.String category) |
static void |
WriteLineIf(boolean condition,
java.lang.String message) |
static void |
WriteLineIf(boolean condition,
java.lang.String message,
java.lang.String category) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Debug()
throws java.lang.Throwable
java.lang.Throwablepublic Debug(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static void Assert(boolean condition)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ArgumentNullException
public static void Assert(boolean condition,
java.lang.String message)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
ArgumentNullException
public static void Assert(boolean condition,
java.lang.String message,
java.lang.String detailMessage)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
TypeLoadException,
NullReferenceException,
CultureNotFoundException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentNullException
public static void Assert(boolean condition,
java.lang.String message,
java.lang.String detailMessageFormat,
NetObject... args)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionpublic static Debug cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Debug, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDebug instancejava.lang.Throwable - in case of error during cast operationpublic static void Close()
throws java.lang.Throwable
java.lang.Throwablepublic static void Fail(java.lang.String message)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
TypeLoadException,
NullReferenceException,
CultureNotFoundException,
OutOfMemoryException,
InvalidOperationException,
FormatException,
ArgumentNullException
public static void Fail(java.lang.String message,
java.lang.String detailMessage)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
TypeLoadException,
MissingMethodException,
TargetInvocationException,
NullReferenceException,
CultureNotFoundException,
ArrayTypeMismatchException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionCultureNotFoundExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionpublic static void Flush()
throws java.lang.Throwable
java.lang.Throwablepublic static boolean getAutoFlush()
throws java.lang.Throwable
java.lang.Throwablepublic static int getIndentLevel()
throws java.lang.Throwable
java.lang.Throwablepublic static int getIndentSize()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static void Indent()
throws java.lang.Throwable
java.lang.Throwablepublic static void Print(java.lang.String message)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
ArgumentNullException,
CultureNotFoundException
public static void Print(java.lang.String format,
NetObject... args)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic static void setAutoFlush(boolean AutoFlush)
throws java.lang.Throwable
java.lang.Throwablepublic static void setIndentLevel(int IndentLevel)
throws java.lang.Throwable
java.lang.Throwablepublic static void setIndentSize(int IndentSize)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static DebugProvider SetProvider(DebugProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException
public static void Unindent()
throws java.lang.Throwable
java.lang.Throwablepublic static void Write(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException
public static void Write(NetObject value, java.lang.String category) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
public static void Write(java.lang.String message)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException,
NullReferenceException,
IndexOutOfRangeException,
ExternalException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionCultureNotFoundExceptionNullReferenceExceptionIndexOutOfRangeExceptionExternalExceptionpublic static void Write(java.lang.String message,
java.lang.String category)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException,
NullReferenceException,
ExternalException,
ArgumentNullException
public static void WriteIf(boolean condition,
NetObject value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException
public static void WriteIf(boolean condition,
NetObject value,
java.lang.String category)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
ArgumentNullException,
NotSupportedException,
CultureNotFoundException,
InvalidOperationException
public static void WriteIf(boolean condition,
java.lang.String message)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
CultureNotFoundException,
NullReferenceException,
ExternalException,
ArgumentNullException
public static void WriteIf(boolean condition,
java.lang.String message,
java.lang.String category)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
ArgumentNullException,
InvalidOperationException,
CultureNotFoundException
public static void WriteLine(NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, CultureNotFoundException
public static void WriteLine(NetObject value, java.lang.String category) throws java.lang.Throwable, NotSupportedException, ArgumentException, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public static void WriteLine(java.lang.String message)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException,
NullReferenceException,
ExternalException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionOutOfMemoryExceptionCultureNotFoundExceptionNullReferenceExceptionExternalExceptionArgumentNullExceptionpublic static void WriteLine(java.lang.String format,
NetObject... args)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
CultureNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionOutOfMemoryExceptionNullReferenceExceptionExternalExceptionCultureNotFoundExceptionpublic static void WriteLine(java.lang.String message,
java.lang.String category)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
ArgumentNullException,
CultureNotFoundException
public static void WriteLineIf(boolean condition,
NetObject value)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
public static void WriteLineIf(boolean condition,
NetObject value,
java.lang.String category)
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
CultureNotFoundException
public static void WriteLineIf(boolean condition,
java.lang.String message)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
OutOfMemoryException,
NullReferenceException,
ExternalException,
ArgumentNullException,
CultureNotFoundException
public static void WriteLineIf(boolean condition,
java.lang.String message,
java.lang.String category)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
OutOfMemoryException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException