简体   繁体   English

VBS:从vb6,vb.net或C#调试脚本

[英]VBS: Debugging Scripts from vb6, vb.net or C#

I need to implement a vbscript visual debugger. 我需要实现一个vbscript可视调试器。 That's it. 而已。 I need to know if there is a way to acomplish that from a vb6 or vb.net program. 我需要知道是否有一种方法可以从vb6或vb.net程序中完成。

What I need to do is a visual, step by step, debugger. 我需要做的是一步一步的可视化调试器。 But, I don't know where to start. 但是,我不知道从哪里开始。

I'd been trying with the "MSScriptControl.ScriptControl" object, but, it only can execute complete code, not step by step support. 我一直在尝试使用“ MSScriptControl.ScriptControl”对象,但是它只能执行完整的代码,而不能逐步支持。

Any ideas??? 有任何想法吗???

The JavaScript/VBScript are very old and you are looking for old COM/ActiveX API to work with. JavaScript / VBScript很旧,并且您正在寻找可以使用的旧COM / ActiveX API。 Check out this links - http://blogs.msdn.com/b/jscript/archive/2008/03/18/ie8-script-debugger-under-the-hood.aspx and http://msdn.microsoft.com/en-us/magazine/cc301316.aspx . 查看此链接-http://blogs.msdn.com/b/jscript/archive/2008/03/18/ie8-script-debugger-under-the-hood.aspxhttp://msdn.microsoft.com /en-us/magazine/cc301316.aspx

Note - I never did it myself and prefer it to stay this way. 注意-我从未亲自做过,希望它保持这种状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM