RSS Feed Link       View page in German   View page in Spanish   View page in French   View page in Italian   View page in Portuguese   View page in Japanese   View page in Korean   View page in Simplified Chinese   
Log On   Feedback   Search Site    
 
 
Home eZine Software Scripting Network Admin. SITE UPGRADE IN PROGRESS - CLICK HERE FOR INFO 
 
KiXtart DEBUG Mode Reference
Languages   UDF/UDC Libraries   Data Access   Visual Studio    

 
Dx21s RSS Feed keeps you up to date and your inbox clear

Select Area:

Information
ADSI
ASP
AutoIt
(D)HTML
KiXtart
MS-DOS / CMD
PowerShell
RunDLL32
ScriptIt
VBScript
WMI

Debug mode
Dx21 Book Recommendations

KiXtart provides a basic debug facility. In debug mode, a script can be executed statement by statement, the value of variables or macros can be displayed, and you can execute arbitrary script commands. To run a script in debug mode, specify '/d' on the command line. Alternatively, you can enter and leave debug mode anywhere in a script using the DEBUG ON and DEBUG OFF commands.

Note: debug mode can be completely disabled from within a script using SetOption("DisableDebugging", "On").

In debug mode, the top line of the screen is used to display the current line in the script starting at the current statement. Optionally, the second line of the screen is used to display the value of a specific variable or macro.

In debug mode, the following keys are available to control script execution :

F5 Run (deactivates debug mode, runs rest of script to the end or until a DEBUG ON command is encountered).
F8 Step into (run a single statement, follow thread into subroutines, UDF’s, and secondary scripts).
[Space] Step into (run a single statement, follow thread into subroutines, UDF’s, and secondary scripts).
[Enter] Step into (run a single statement, follow thread into subroutines, UDF’s, and secondary scripts).
F10 Step over (run a single statement, executes, but skips over subroutines, UDF’s, and secondary scripts as far as the debugger is concerned).
[ESC] Quit
Q Quit

Additionally, you can query the value of a variable, array element or macro simply by typing the name and pressing [Enter]. Similarly, you can execute an arbitrary piece of KiXtart code simply by typing it in and pressing [Enter].

This text is reprinted from: KIX2001.DOC included in the KiXtart Download. Copyright© 2008 Ruud van Velsen


Return to the Main Menu


 
Good Morning
8/20/2008 10:36:22 AM
Copyright © 1997 - 2008 Dx21, LLC. All rights reserved.
Dx21, LLC a Washington Limited Liability Company
  Privacy Policy | Terms of Use
   
Labelled with ICRA   Rated with SafeSurf