#1
|
|||
|
|||
Using Debuggers for VBScript
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:
Quote:
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? |
#2
|
||||
|
||||
I'm not familiar with VBSEdit.
If you want to debug w/in Visual Studio or any debugger, it's my understanding that you'll need to set the registry key Todd's post references. The "JIT" is for "Just In Time", which is specific to how debugging ActiveX Scripts works in Windows. If you don't set the registry key, you won't be able to intercept the script interpreter and tell it to go into Debug mode. --Jake
__________________
Jake Devenport VanDyke Software Technical Support YouTube Channel: https://www.youtube.com/vandykesoftware Email: support@vandyke.com Web: https://www.vandyke.com/support |
![]() |
Tags |
debugging , vbscript , vbsedit , visual studio |
Thread Tools | |
Display Modes | Rate This Thread |
|
|