CFIDE.adminapi.debugging
Component debugging (debugging)
Manages debug settings.
| hierarchy: | WEB-INF.cftags.component CFIDE.adminapi.base CFIDE.adminapi.debugging |
| path: | {web-root}\CFIDE\adminapi\debugging.cfc |
| serializable: | Yes |
| properties: | |
| methods: | addDebugEvent, deleteIP, getCurrentIP, getDebugProperty, getDebugRecordset, getIPList, getLineDebuggerPort, getLogProperty, getMaxDebuggingSessions, isLineDebuggerEnabled, isLineDebuggerRunning, restartLineDebugger, setDebugProperty, setIP, setLineDebuggerEnabled, setLineDebuggerPort, setLogProperty, setMaxDebuggingSessions, startLineDebugger, stopLineDebugger, validateIP* |
| inherited methods: | dump, getEdition, getInstallType, getJRunRootDir, isAdminUser, RDSInvoker, setJrunSN |
* – private method
| addDebugEvent |
|---|
public void addDebugEvent ( required string type, required string message, string priority="information", numeric startTime, numeric endTime, numeric total
Adds a debug event to the debugging output. For an example of debugging events, refer to WEB-INF/debug/classic.cfm. Output: suppressed
message: string, required, message – Text to display along with the debug event. priority: string, optional, priority – Info, Warning, or Error. startTime: numeric, optional, startTime – Start time, if appropriate for your debug event (Tip: now().getTime() returns the numeric calue of the date time). endTime: numeric, optional, endTime – End time, if appropriate for your debug event (Tip: now().getTime() returns the numeric calue of the date time). total: numeric, optional, total – Number of milliseconds, if appropriate for your debug event. |
| deleteIP |
public void deleteIP ( required string debugip
Removes an IP address from the debugging list. Output: suppressed |
| getCurrentIP |
public getCurrentIP (
Returns the IP address of the ColdFusion server. Output: suppressed |
| getDebugProperty |
public any getDebugProperty ( required propertyName
Returns a specified debug property. To use this method, pass the desired property in the propertyName attribute. Output: suppressed
|
| getDebugRecordset |
public query getDebugRecordset (
Returns debugger record set. Output: suppressed |
| getIPList |
public getIPList ( adminPassword="", adminPassword2=""
Returns a list of IP addresses for which debugging is enabled. Output: suppressed |
| getLineDebuggerPort |
numeric getLineDebuggerPort (
Returns JVM debug port Output: suppressed |
| getLogProperty |
public any getLogProperty ( required propertyName
Returns a specified logging property. To use this method, pass the desired property in the propertyName attribute. Output: suppressed
|
| getMaxDebuggingSessions |
numeric getMaxDebuggingSessions (
Returns maximum simultaneous debugging sessions Output: suppressed |
| isLineDebuggerEnabled |
boolean isLineDebuggerEnabled (
Returns if line debugger is enabled in the server Output: suppressed |
| isLineDebuggerRunning |
boolean isLineDebuggerRunning (
Returns if line debugger running Output: suppressed |
| restartLineDebugger |
void restartLineDebugger (
Restarts CF line debugger Output: suppressed |
| setDebugProperty |
public void setDebugProperty ( required propertyName, required propertyValue
Sets a specified debug property. To use this method, pass the property in the propertyName attribute and the associated value in the propertyValue attribute. Output: suppressed
propertyValue: any, required, propertyValue – Value for propertyName. |
| setIP |
public void setIP ( required string debugip
Sets a list of one or more IP addresses for which debugging is enabled. Output: suppressed |
| setLineDebuggerEnabled |
void setLineDebuggerEnabled ( boolean enabled="true"
Enables or disables line debugger Output: suppressed |
| setLineDebuggerPort |
void setLineDebuggerPort ( required numeric portNumber
Sets JVM debug port Output: suppressed |
| setLogProperty |
public void setLogProperty ( required propertyName, required propertyValue
Sets a specified logging property. To use this method, pass the property in the propertyName attribute and the associated value in the propertyValue attribute. Output: suppressed
propertyValue: any, required, propertyValue – Value for propertyName. |
| setMaxDebuggingSessions |
void setMaxDebuggingSessions ( required numeric maxSessions
Sets maximum simultaneous debugging sessions Output: suppressed |
| startLineDebugger |
void startLineDebugger (
Starts CF line debugger Output: suppressed |
| stopLineDebugger |
void stopLineDebugger (
Stops CF line debugger Output: suppressed |
| validateIP* |
private boolean validateIP ( required debugip
Ensures that a string contains a valid IP address. Output: suppressed |