home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / asp / DEBUG.ZIP / debug.asp next >
Encoding:
Text File  |  1999-08-19  |  1.2 KB  |  65 lines

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <%
  3.     Set oDump = Server.CreateObject("Debug.Dump")
  4.     Application("test")="Sting"
  5.     Session("test")="a second test"
  6.     oDump.DebugLevel=3
  7.     oDump.Request
  8.     oDump.Application
  9.     oDump.Session
  10.     oDump.Trace("-Starting Content-")
  11.  %>
  12. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  13.  
  14. <html>
  15. <head>
  16.     <title>Debug Sample</title>
  17. </head>
  18.  
  19. <body>
  20. <pre>
  21.         ASP Debug Dll v1.0
  22.         19/07/99
  23.  
  24. Author:
  25.     Carsten Zeumer
  26. Mail:
  27.     <a href="mailto:debug@href.net">debug@href.net</a>
  28.  
  29. purpose:
  30.     Dumps object data and strings to a debugger (get the best 
  31.     DebugMessage tracer at http://www.sysinternals.com).
  32.     
  33.  
  34. Installation:
  35.     regsvr32 debug.dll
  36.  
  37. Objects:
  38.     Debug.Dump
  39. Properties:
  40.     DebugLevel (0-3)        
  41.  
  42. Methods:
  43.     Application        Dumps the Application-Object to the debuger
  44.     Session            Dumps the Session-Object to the debuger
  45.     Request            Dumps the Request-Object to the debuger
  46.     Response        Dumps the Response-Object to the debuger
  47.     Trace(STRING)        Dumps the given STRING to the debugger
  48.  
  49. Usage:
  50.     see attachet file DEBUG.ASP
  51.  
  52. Legal stuf:
  53.     none.. 
  54.     don't blame me if it does not work, 
  55.     but mail me if it helps you...
  56.  
  57. </pre>
  58. </body>
  59. </html>
  60. <%
  61.     oDump.Trace("-Content Done-")
  62.     oDump.Response
  63.     Set oDump=Nothing
  64. %>
  65.