I need to be able to debug my VBscript by stepping through it, so I've been investigating debugging tools. VanDyke's Todd posted this on a different thread:
Originally Posted by rtb
Since SecureCRT doesn't expose an object, I am not sure that there will ever be a really good external debugging solution.
We have used Visual Studio to successfully debug VBScripts in SecureCRT. You have to have Visual Studio installed, and make sure that JITDebug
is set to "1
" in the following registry key:
I installed Visual Studio, but the idea of attempting a registry change to my boss's computer fills me with apprehension.
So first I started Visual Studio and opened my script, to see if there were any issues that would make me look for a different solution. Sure enough, the "Start Debugging" command is greyed out.
Is that because I didn't make the registry change? Or could there be some other silly reason?
Meanwhile, I found another debugger called VBSEdit (http://www.vbsedit.com/
) which seems simple enough. However, running their "debug" only seems to check my script for errors with, without any effect on my SecureCRT window. I know I'm missing something, and I'm not even sure that stepping through the code is even possible this way.
Is anyone familiar with these products?