org.eclipse.hyades.models.util
Class ModelDebugger
java.lang.Object
org.eclipse.hyades.models.util.ModelDebugger
- Direct Known Subclasses:
- ModelDebugger
public class ModelDebugger
- extends java.lang.Object
|
Method Summary |
java.io.FileOutputStream |
getBinaryLog(java.lang.String id)
|
java.lang.String |
getPlatformDebugOption(java.lang.String option)
|
static boolean |
isZipFile(java.io.InputStream readStream)
|
static boolean |
isZipFile(java.lang.String fileName)
|
static void |
log(int exceptionDepth,
java.lang.String s)
|
static void |
log(java.lang.String s)
|
static void |
log(java.lang.Throwable e)
|
static void |
log(java.lang.Throwable e,
java.lang.String msg)
|
static void |
logCallstackWithLimit(java.lang.Throwable e,
int limit,
java.io.PrintStream out)
|
int |
writeBinaryLog(java.lang.String id,
byte buffer)
|
int |
writeBinaryLog(java.lang.String id,
byte[] buffer)
|
int |
writeBinaryLog(java.lang.String id,
byte[] buffer,
int offset,
int length)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public boolean debug
debugEventFlow
public boolean debugEventFlow
debugEventValue
public boolean debugEventValue
debugEventsToFile
public boolean debugEventsToFile
debugPerfUtil
public boolean debugPerfUtil
debugUseOptimizedScanner
public boolean debugUseOptimizedScanner
debugCustomMaps
public boolean debugCustomMaps
debugUseVirtualImpl
public boolean debugUseVirtualImpl
debugUseCBEtoMemoryOutputter
public boolean debugUseCBEtoMemoryOutputter
debugUseCBEtoCSVOutputter
public int debugUseCBEtoCSVOutputter
debugLoadCSVFiles
public boolean debugLoadCSVFiles
debugDeleteCSVFiles
public boolean debugDeleteCSVFiles
useSerializedByteCodeCache
public boolean useSerializedByteCodeCache
debugDatabaseResourcePostfix
public java.lang.String debugDatabaseResourcePostfix
exceptionDepth
public int exceptionDepth
useEmbeddedPageControls
public boolean useEmbeddedPageControls
useSWTVirtualSupport
public boolean useSWTVirtualSupport
INSTANCE
public static ModelDebugger INSTANCE
ModelDebugger
public ModelDebugger(java.lang.String plugin_name)
writeBinaryLog
public int writeBinaryLog(java.lang.String id,
byte[] buffer)
writeBinaryLog
public int writeBinaryLog(java.lang.String id,
byte buffer)
writeBinaryLog
public int writeBinaryLog(java.lang.String id,
byte[] buffer,
int offset,
int length)
getBinaryLog
public java.io.FileOutputStream getBinaryLog(java.lang.String id)
isZipFile
public static boolean isZipFile(java.io.InputStream readStream)
throws java.io.IOException
- Throws:
java.io.IOException
isZipFile
public static boolean isZipFile(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
getPlatformDebugOption
public java.lang.String getPlatformDebugOption(java.lang.String option)
log
public static void log(java.lang.Throwable e)
- Parameters:
e -
log
public static void log(java.lang.Throwable e,
java.lang.String msg)
logCallstackWithLimit
public static void logCallstackWithLimit(java.lang.Throwable e,
int limit,
java.io.PrintStream out)
log
public static void log(java.lang.String s)
log
public static void log(int exceptionDepth,
java.lang.String s)