ASP里面令人震撼地Debug类(VBScript)

2019-04-02 07:33:40丽君

   Call PrintCollection("APPLICATION STATIC OBJECTS", Application.StaticObjects(),divSet(10),"")
   Response.Write "</Table>"
   End If
End Sub
'Destructor
Private Sub Class_Terminate()
   Set dbg_Data = Nothing
End Sub
End Class
%>

类的说明:

CLASS debuggingConsole
Version: 1.2
--------------------------------------------------------------------------------
Public Properties
Property Let Enabled(bNewValue)===[bool] Sets "enabled" to true or false
Property Get Enabled===[bool] Gets the "enabled" value
Property Let Show(bNewValue)===[string] Sets the debugging panel. Where each digit in the string represents a debug information pane in order (11 of them). 1=open, 0=closed
Property Get Show===[string] Gets the debugging panel.
Property Let AllVars(bNewValue)===[bool] Sets wheather all variables will be displayed or not. true/false
Property Get AllVars===[bool] Gets if all variables will be displayed.
--------------------------------------------------------------------------------
Public Methods
public sub===Print (label, output)
   Adds a variable to the debug-informations.
public sub===GrabDatabaseInfo (byval oSQLDB)
   Adds the Database-connection object to the debug-instance. To display Database-information
public sub===draw ()
   Draws the Debug-panel
--------------------------------------------------------------------------------
Methods Detail
public sub===Print (label, output)
Parameters:
   - label [string]: Description of the variable
   - output [variable]: The variable itself
public sub===GrabDatabaseInfo (byval oSQLDB)
Parameters:
   - oSQLDB [object]: connection-object

您可能感兴趣的文章:

ASP、vbscript编码模板ASP中一个用VBScript写的随机数类利用vbscript脚本修改文件内容,此适用于自动化的操作中asp,VBscript语法错误,史上最全最详细最精确vbscript脚本编程教程2利用fso来进行文件操作使用vbscript脚本在表单中进行选择的代码用vbscript脚本实现返回 IP 配置数据的代码调试JavaScript/VBScript脚本程序(IE篇)JavaScript/VBScript脚本程序调试(Wscript篇)枚举域内计算机个数vbscript脚本(没环境,没测试)ASP/VBScript中CHR(0)的由来以及带来的安全问题分析ASP(VBScript)中整除和取余ASP基础知识VBScript基本元素讲解ASP基础入门第四篇(脚本变量、函数、过程和条件语句)