Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is There a Profiler for Windows Scripting Host Code?

Are there any profilers that can profile code that runs under WSH (VBScript, JavaScript, WSF)? Other than hand instrumenting with trace statements, what's a good way to profile code running under WSH?

like image 368
Patrick Cuff Avatar asked Jan 26 '09 17:01

Patrick Cuff


People also ask

How do I use Microsoft Windows Script Host?

To activate or deactivate the Windows Script Host, type regedit.exe in the Run box and press Enter to open the Registry Editor. In the right panel, you will see Enable. If you see 0 entries, it means that Windows Script Host access is disabled on your Windows. Double Click and in Data Value type 1 to activate it.

What is Windows Script Host?

Microsoft® Windows® Script Host (WSH) is a language-independent scripting host for Windows Script compatible scripting engines. It brings simple, powerful, and flexible scripting to the Windows 32-bit platform, allowing you to run scripts from both the Windows desktop and the command prompt.


1 Answers

AQTime can do that. They have a free trial available.

You can use AQtime to profile scripts executed by the Microsoft Scripting Engine. The engine supports the VBScript and JScript languages and is used by applications like Internet Explorer, Windows Script Host or TestComplete. Thus, you can use AQtime to profile VBScript and JScript routines that are executed in these applications. For instance, you can profile scripts that reside on your web pages or you can profile scripts of your TestComplete project.

like image 127
Richard Anthony Freeman-Hein Avatar answered Oct 04 '22 14:10

Richard Anthony Freeman-Hein