|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
jgMain.JgDebug
This description left intentionally blank
| Field Summary | |
protected int |
intr
The level of depth in the current debugging object |
| Constructor Summary | |
JgDebug()
|
|
| Method Summary | |
void |
crash(java.lang.String reason)
Crashes the program for the following reason: |
java.lang.String |
getCurrentLocation()
Gets the current location in the source |
java.lang.String |
getCurrentMethod()
Gets the current method in the source |
void |
notify(java.lang.String msg)
Prints a debuging message. |
void |
notifyMethodEntered()
Prints a notification that a method has been entered. |
void |
notifyMethodExit()
Prints a notification that a method has been exited. |
void |
printCurrentMethod()
Prints the current location in the source. |
void |
println(java.lang.String msg)
A simple wrapper around System.out.println(""); This is here to conveniently locate debugging messages in the source. |
void |
printStackTrace(int lim)
Prints a stack trace up to a certain limit. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int intr
| Constructor Detail |
public JgDebug()
| Method Detail |
public void notify(java.lang.String msg)
msg - The string to printpublic void printCurrentMethod()
public java.lang.String getCurrentMethod()
public java.lang.String getCurrentLocation()
public void notifyMethodEntered()
public void notifyMethodExit()
public void println(java.lang.String msg)
public void crash(java.lang.String reason)
reason - the reason that we crashedpublic void printStackTrace(int lim)
lim - the limit to print the stack trace to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||