Liquid UI - WS Reference Library

2.2 Debugger Configuration


Debugger is an “executable file” and doesn’t require additional installation process. Simply trail the following steps for configuring debugger,

Step 1: Open WS Debugger.exe. The interface of Debugger appears as below screen

 

 

Step 2: Navigate to guixt.sjs. This is located under
“C:\\Program Files (x86)\SAP\FrontEnd\SAPgui”.

Open guixt.sjs and verify whether directory 1 statement/ instruction is pointing towards scripts folder.

Then, set debug value to 1.

Example:

directory1 = 'C:\\scripts\\WSDebugger';

debug=1;

Note: The Location of the directory or path may vary depending on the OS.

Step 3: Check for the compatibility of webscript.dll files.

SAP GUI and Debugger folder contains webscript.dll file. This webscript.dll in both folders should match with the same versioning. To verify, right click on the webscript.dll >> properties >> details >> Product version.

To locate webscript.dll:

For SAP GUI – “C:\\Program Files (x86)\SAP\FrontEnd\SAPgui”

For WS Debugger – “C:\\WSDebugger\1.0.3.0\Debug”

If both .dll files are of with different version, then copy webscript.dll file from SAP GUI to debug directory. 

Step 4: Open WSDebugger.exe. You will find File option on the main menu bar. Click on File, a context menu appears, then click Open.

 Navigate to guixt.sjs file and open it in debugger.

“C:\Program Files (x86)\SAP\FrontEnd\SAPgui" (Location may vary depending up on Windows edition)

This option will load scripts in to the debugger.

 

 

Step 5: Once the scripts have been loaded in to the debugger, they are visible under solution explorer, which is on the left hand side of the debugger. Double click on the script to open it for debugging process.

 

 

Step 6: Open SAP GUI and make sure that "Activate GuiXT" is selected to run scripts.