ecologylab.concurrent
Class ThreadDebugger

java.lang.Object
  extended by ecologylab.generic.Debug
      extended by ecologylab.concurrent.ThreadDebugger

public class ThreadDebugger
extends Debug

Author:
vikrams To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
ThreadDebugger()
           
 
Method Summary
static void addObserver(java.util.Observer o)
           
static void clear()
          Clear all the thread collections -- eunyee
static void hide()
           
static void registerMyself(java.lang.Thread thread)
           
static void removeMyself(java.lang.Thread thread)
           
static void resume(ecologylab.concurrent.ThreadEntry threadEntry)
           
static void setPosition(int x, int y)
           
static void show()
           
static boolean toggleAndReturnNewState(ecologylab.concurrent.ThreadEntry threadEntry)
           
static void waitIfPaused(java.lang.Thread thread)
           
 
Methods inherited from class ecologylab.generic.Debug
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThreadDebugger

public ThreadDebugger()
Method Detail

registerMyself

public static void registerMyself(java.lang.Thread thread)

toggleAndReturnNewState

public static boolean toggleAndReturnNewState(ecologylab.concurrent.ThreadEntry threadEntry)

waitIfPaused

public static void waitIfPaused(java.lang.Thread thread)

resume

public static void resume(ecologylab.concurrent.ThreadEntry threadEntry)

removeMyself

public static void removeMyself(java.lang.Thread thread)

clear

public static void clear()
Clear all the thread collections -- eunyee


setPosition

public static void setPosition(int x,
                               int y)

show

public static void show()

hide

public static void hide()

addObserver

public static void addObserver(java.util.Observer o)