Jarvis Posted June 2, 2004 Posted June 2, 2004 I have just started working with the script de-bugger and I have some questions: The buttons are labeled: STEP STEP INTO STEP OUT RUN TO BREAKPOINT STOP EXECUTION SET NEXT STEP SET/CLEAR BREAKPOINT GO TO SCRIPT What is the difference between STEP & STEP INTO? What is the difference between STEP OUT & STOP EXECUTION? Is there a way to activate and deactivate the script debugger without selecting it in the SCRIPTMAKER dialog box? Thanks! Jarvis
QuinTech Posted June 2, 2004 Posted June 2, 2004 1. If you have subscripts, STEP will run the subscript without getting into the details. STEP INTO will take you step-by-step through the subscript. 2. STEP OUT will take you through the remaining steps of the subscript (not step-by-step) and back to the originating script. STOP EXECUTION stops all scripts right where they're at. If you have no subscripts, then STEP/STEP INTO operate the same, and STEP OUT/STOP EXECUTION run the same. 3. I don't think so, but there are always clever people here who know more tricks than i. HTH Jerry
smorr Posted June 2, 2004 Posted June 2, 2004 "Step" is sometimes known as "Step Over" -- it will not enter any subscripts (but it will execute the subscript) (ie steps over the subscript) "Step into" will move the debugger into any subscripts "Step out" will execute the rest of a subscript and then return the debugger to the next line of the script that called the subscript "Stop Execution" will stop the script altogether (without executing any more steps) Activating the debugger As far as I know there is no way except the checking the debugger option in the scripts menu of FMDev Though it would be nice to have a check box in the script editor dialog (FMI are you listening) And it would be nice to actually open the script for editing from the debugger rather than just the script editor. (FMI -- really? are your listening???)
The Shadow Posted June 2, 2004 Posted June 2, 2004 A friend found this one: On the Mac (at least), you can use shift when selecting "Perform" from ScriptMaker's dialog and the "Debug Scripts" toggle will be turned on for you before the script starts.
QuinTech Posted June 2, 2004 Posted June 2, 2004 Thanks for that, Shadow... unfortunately doesn't work on Windows, nor does any combination of Ctrl, Shft, or Alt. (FM Dev 6... i don't know about v7.) Anyone know a Windows shortcut? Jerry
brownees Posted September 10, 2004 Posted September 10, 2004 The Script Debugger is enabled in Windows from the Define Scripts dialogue box by selecting the script, pressing Shift and clicking the Perform button.
QuinTech Posted September 10, 2004 Posted September 10, 2004 Maybe in version 7 it is ... can't get it to work in 6. J
Recommended Posts
This topic is 7378 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now