Package system.diagnostics
Class Debug
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.diagnostics.Debug
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Debug extends NetObject
The base .NET class managing System.Diagnostics.Debug, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Diagnostics.Debug
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Diagnostics.Debugstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 theIJCOBridgeReflected
instance intoDebug
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typestatic 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(java.lang.String message)
static void
Write(java.lang.String message, java.lang.String category)
static void
Write(NetObject value)
static void
Write(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
WriteIf(boolean condition, NetObject value)
static void
WriteIf(boolean condition, NetObject value, java.lang.String category)
static void
WriteLine(java.lang.String message)
static void
WriteLine(java.lang.String message, java.lang.String category)
static void
WriteLine(java.lang.String format, NetObject... args)
static void
WriteLine(NetObject value)
static void
WriteLine(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)
static void
WriteLineIf(boolean condition, NetObject value)
static void
WriteLineIf(boolean condition, NetObject value, java.lang.String category)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Diagnostics.Debug- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Debug cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDebug
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Debug
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
SetProvider
public static DebugProvider SetProvider(DebugProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException
-
Assert
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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
OutOfMemoryException
-
Assert
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
-
Assert
public static void Assert(boolean condition, java.lang.String message) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException
-
Assert
public static void Assert(boolean condition) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, FormatException, OutOfMemoryException, ArgumentNullException
-
Close
public static void Close() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Fail
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
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
FormatException
TypeLoadException
MissingMethodException
TargetInvocationException
NullReferenceException
CultureNotFoundException
ArrayTypeMismatchException
OutOfMemoryException
-
Fail
public static void Fail(java.lang.String message) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, TypeLoadException, NullReferenceException, CultureNotFoundException, OutOfMemoryException, InvalidOperationException, FormatException, ArgumentNullException
-
Flush
public static void Flush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Indent
public static void Indent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Print
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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
OutOfMemoryException
NullReferenceException
ExternalException
CultureNotFoundException
-
Print
public static void Print(java.lang.String message) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, CultureNotFoundException
-
Unindent
public static void Unindent() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Write
public static void Write(NetObject value, java.lang.String category) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
Write
public static void Write(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException
-
Write
public 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
-
Write
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
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ArgumentException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
OutOfMemoryException
CultureNotFoundException
NullReferenceException
IndexOutOfRangeException
ExternalException
-
WriteIf
public static void WriteIf(boolean condition, NetObject value, java.lang.String category) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, ArgumentNullException, NotSupportedException, CultureNotFoundException, InvalidOperationException
-
WriteIf
public static void WriteIf(boolean condition, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, InvalidOperationException, CultureNotFoundException
-
WriteIf
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
-
WriteIf
public static void WriteIf(boolean condition, java.lang.String message) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, CultureNotFoundException, NullReferenceException, ExternalException, ArgumentNullException
-
WriteLine
public static void WriteLine(NetObject value, java.lang.String category) throws java.lang.Throwable, NotSupportedException, ArgumentException, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
WriteLine
public static void WriteLine(NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, CultureNotFoundException
-
WriteLine
public 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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
FormatException
OutOfMemoryException
NullReferenceException
ExternalException
CultureNotFoundException
-
WriteLine
public 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
-
WriteLine
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
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
OutOfMemoryException
CultureNotFoundException
NullReferenceException
ExternalException
ArgumentNullException
-
WriteLineIf
public static void WriteLineIf(boolean condition, NetObject value, java.lang.String category) throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotSupportedException, CultureNotFoundException
-
WriteLineIf
public static void WriteLineIf(boolean condition, NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, OutOfMemoryException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
WriteLineIf
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
-
WriteLineIf
public static void WriteLineIf(boolean condition, java.lang.String message) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, OutOfMemoryException, NullReferenceException, ExternalException, ArgumentNullException, CultureNotFoundException
-
getAutoFlush
public static boolean getAutoFlush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAutoFlush
public static void setAutoFlush(boolean AutoFlush) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIndentLevel
public static int getIndentLevel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIndentLevel
public static void setIndentLevel(int IndentLevel) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIndentSize
public static int getIndentSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIndentSize
public static void setIndentSize(int IndentSize) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-