|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.debug.DebuggerImpl
public final class DebuggerImpl
Class to debug the application
Constructor Summary | |
---|---|
DebuggerImpl()
standart Constructor of the class |
Method Summary | |
---|---|
void |
addException(Config config,
PageException pe)
|
void |
addQuery(Query query,
String datasource,
String name,
SQL sql,
int recordcount,
PageSource src,
int time)
|
void |
addQueryExecutionTime(String datasource,
String name,
SQL sql,
int recordcount,
PageSource src,
int time)
add new query execution time |
DebugTimer |
addTimer(String label,
long time,
String template)
adds ne Timer info to debug |
DebugTrace |
addTrace(int type,
String category,
String text,
PageSource page,
String varName,
String varValue)
add new Trace to debug |
DebugTrace |
addTrace(int type,
String category,
String text,
String template,
int line,
String action,
String varName,
String varValue)
|
static boolean |
debugQueryUsage(PageContext pageContext,
Query query)
|
Struct |
getDebuggingData()
returns the Debugging Info |
DebugEntry |
getEntry(PageContext pc,
PageSource source)
|
DebugEntry |
getEntry(PageContext pc,
PageSource source,
String key)
|
CatchBlock[] |
getExceptions()
|
List<QueryEntryImpl> |
getQueries()
|
DebugTrace[] |
getTraces()
|
void |
reset()
reset the debug object |
void |
setOutput(boolean output)
sets if toHTML print html output info or not |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
void |
writeOut(PageContext pc)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebuggerImpl()
Method Detail |
---|
public void reset()
Debugger
reset
in interface Debugger
Debugger.reset()
public DebugEntry getEntry(PageContext pc, PageSource source)
getEntry
in interface Debugger
Debugger.getEntry(railo.runtime.PageContext, railo.runtime.PageSource)
public DebugEntry getEntry(PageContext pc, PageSource source, String key)
getEntry
in interface Debugger
Debugger.getEntry(railo.runtime.PageContext, railo.runtime.PageSource, java.lang.String)
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
railo.runtime.dump.Dumpable#toDumpData(railo.runtime.PageContext, int)
public void addQueryExecutionTime(String datasource, String name, SQL sql, int recordcount, PageSource src, int time)
Debugger
addQueryExecutionTime
in interface Debugger
Debugger.addQueryExecutionTime(java.lang.String, java.lang.String, railo.runtime.db.SQL, int, railo.runtime.PageSource, int)
public void addQuery(Query query, String datasource, String name, SQL sql, int recordcount, PageSource src, int time)
public void setOutput(boolean output)
Debugger
setOutput
in interface Debugger
output
- The output to set.Debugger.setOutput(boolean)
public List<QueryEntryImpl> getQueries()
getQueries
in interface Debugger
Debugger.getQueries()
public void writeOut(PageContext pc) throws IOException
writeOut
in interface Debugger
IOException
Debugger.writeOut(railo.runtime.PageContext)
public Struct getDebuggingData()
Debugger
getDebuggingData
in interface Debugger
Debugger.getDebuggingData()
public DebugTimer addTimer(String label, long time, String template)
Debugger
addTimer
in interface Debugger
Debugger.addTimer(java.lang.String, long, java.lang.String)
public DebugTrace addTrace(int type, String category, String text, PageSource page, String varName, String varValue)
Debugger
addTrace
in interface Debugger
railo.runtime.debug.Debugger#addTrace(int, java.lang.String, java.lang.String, railo.runtime.PageSource, java.lang.String)
public DebugTrace addTrace(int type, String category, String text, String template, int line, String action, String varName, String varValue)
public DebugTrace[] getTraces()
getTraces
in interface Debugger
Debugger.getTraces()
public void addException(Config config, PageException pe)
public CatchBlock[] getExceptions()
public static boolean debugQueryUsage(PageContext pageContext, Query query)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |