Sign in to follow this  
pghTech

Microsoft Script Editor 10 debug question

Recommended Posts

I am using the Microsoft Script Editor 10 and attempting to run the debugger. However, no matter how I initialize (Start debugging, step into, step over..ect) the debugger shows it's running, then stops. I don't mean it *breaks* such that if you set break points and it should break there, or stepping into it breaks at the first line or function call line. It runs, and then just returns to a stop state without any access to windows or tools (autos, watch..ect). It quits just like if you had hit "stop debugging". Below is the main body of the .vbs script ....any suggestions?

Option Explicit
Dim objNet, objShell, strComputer, objFSO, objReg
Dim KeyPath

set objNet = CreateObject("wscript.Network")
set objShell = CreateObject("wscript.shell")
strComputer = objNet.ComputerName		'Acquiring Computer Name

set objFSO = CreateObject("Scripting.FileSystemObject")

Call DefaultUserName
Call AdminAutoLogin(StrComputer)
 
Select Case (checkInst())
	Case "true"
		Call UninstallClient()
	Case "false"
		Call InstallClient()
	End Select
	

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this