#112048 - 2004-01-20 12:01 AM
Re: Terminal Services Scripting
|
Sardis
Fresh Scripter
Registered: 2004-01-16
Posts: 28
Loc: Montgomery, AL
|
I have run the code in debug, I can't find out where it errors out, it's like it just stops. What can I do?
_________________________
Jason A King
|
Top
|
|
|
|
#112049 - 2004-01-20 12:07 AM
Re: Terminal Services Scripting
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
Now, if you've run the code in debug mode, then you'd know which was the last line that got executed correctly, wouldn't you, as the executed lines get displayed in the console?
So, then take a look at the last line that got executed and the line after. Also, make sure that all strings are correctly enclosed in quotes and all conditional statements are closed correctly. It migth also help to start a script with Code:
$rc=setoption('explicit,'on') $rc=setoption('novarsinstrings','on')
Finally, it helps to post the code when asking why a particular piece of code does not work.
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
#112051 - 2004-01-20 02:45 PM
Re: Terminal Services Scripting
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Lastly, if you want, you can download a parser like KiXStrip from MCA's site to check your code as well. It will also check for missing ENDIFs, LOOPs too..
But, with the talent lurking around here, if you post your code, you should have a response in oh about 10 minutes (no joke)..
Kent
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|