C# 클래스 Goedel.Debug.Trace

Collection of static methods that provide debugging utilities.
파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh

공개 메소드들

메소드 설명
AreEqual ( byte X, byte Y ) : bool

Perform pairwise test for equality on members of an array. Unlike the builtin functions, ensures debugger stops at useful position.

Assert ( string Text, bool Test ) : bool

Yet another assertion method.

AssertEqual ( string Text, byte X, byte Y ) : bool

Perform pairwise test for equality on members of an array. Unlike the builtin functions, throws exception if fails.

AssertNotEqual ( string Text, byte X, byte Y ) : bool

Perform pairwise test for inequality on members of an array. Unlike the builtin functions, throws exception if fails.

HexToByte ( string input ) : byte[]

Convert string of hex data to byte array. [why isn't this in the conversions library?)

NYI ( string Report ) : void

Not Yet Implemented method. Cannot be disabled.

Spoil ( byte &Array ) : void

Spoil an element in the specified array.

Spoil ( byte Array, byte BadArray ) : void

Creates a clone of the input array with the first byte flipped.

TBS ( string Report ) : void

Not Yet Implemented method. Cannot be disabled.

Write ( string Text ) : void

Write the specified text to the debug output.

Write ( string Text, Object Data ) : void

Write formatted data to the debug output.

WriteHex ( string Text, byte Data ) : void

Write out a buffer to the console as hex.

WriteLine ( ) : void

Write a newline to the debug output.

WriteLine ( string Text ) : void

Output functions, pipe data to the console right now. In the future, will pipe to a file as well.

WriteLine ( string Text, Object Data ) : void

Write formatted data to the debug output with following newline.

비공개 메소드들

메소드 설명
HexValue ( char c ) : int

메소드 상세

AreEqual() 공개 정적인 메소드

Perform pairwise test for equality on members of an array. Unlike the builtin functions, ensures debugger stops at useful position.
public static AreEqual ( byte X, byte Y ) : bool
X byte First array to compare
Y byte Second array to compare
리턴 bool

Assert() 공개 정적인 메소드

Yet another assertion method.
public static Assert ( string Text, bool Test ) : bool
Text string Text to report.
Test bool Test value.
리턴 bool

AssertEqual() 공개 정적인 메소드

Perform pairwise test for equality on members of an array. Unlike the builtin functions, throws exception if fails.
public static AssertEqual ( string Text, byte X, byte Y ) : bool
Text string Report for exception.
X byte First array to compare
Y byte Second array to compare
리턴 bool

AssertNotEqual() 공개 정적인 메소드

Perform pairwise test for inequality on members of an array. Unlike the builtin functions, throws exception if fails.
public static AssertNotEqual ( string Text, byte X, byte Y ) : bool
Text string Report for exception.
X byte First array to compare
Y byte Second array to compare
리턴 bool

HexToByte() 공개 정적인 메소드

Convert string of hex data to byte array. [why isn't this in the conversions library?)
public static HexToByte ( string input ) : byte[]
input string String to convert.
리턴 byte[]

NYI() 공개 정적인 메소드

Not Yet Implemented method. Cannot be disabled.
public static NYI ( string Report ) : void
Report string Text to display on the console.
리턴 void

Spoil() 공개 정적인 메소드

Spoil an element in the specified array.
public static Spoil ( byte &Array ) : void
Array byte The array to spoil.
리턴 void

Spoil() 공개 정적인 메소드

Creates a clone of the input array with the first byte flipped.
public static Spoil ( byte Array, byte BadArray ) : void
Array byte input array
BadArray byte bad array
리턴 void

TBS() 공개 정적인 메소드

Not Yet Implemented method. Cannot be disabled.
public static TBS ( string Report ) : void
Report string Text to display on the console.
리턴 void

Write() 공개 정적인 메소드

Write the specified text to the debug output.
public static Write ( string Text ) : void
Text string
리턴 void

Write() 공개 정적인 메소드

Write formatted data to the debug output.
public static Write ( string Text, Object Data ) : void
Text string Format string
Data Object Data object to write.
리턴 void

WriteHex() 공개 정적인 메소드

Write out a buffer to the console as hex.
public static WriteHex ( string Text, byte Data ) : void
Text string Tag to identify the data
Data byte Data to be written.
리턴 void

WriteLine() 공개 정적인 메소드

Write a newline to the debug output.
public static WriteLine ( ) : void
리턴 void

WriteLine() 공개 정적인 메소드

Output functions, pipe data to the console right now. In the future, will pipe to a file as well.
public static WriteLine ( string Text ) : void
Text string
리턴 void

WriteLine() 공개 정적인 메소드

Write formatted data to the debug output with following newline.
public static WriteLine ( string Text, Object Data ) : void
Text string Format string
Data Object Data object to write.
리턴 void