AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Debugging Your Scripts (https://forums.alliedmods.net/showthread.php?t=105588)

llika 10-06-2009 04:16

Debugging Your Scripts
 
First, when your script fails, the Windows Scripting Host will tell you the line number, column number, and a description of the error. The error it reports gives you a good starting point, but trying to count down to line 132, column 43 to find it in your code is unworkable. Because... The default script editor (if you right-click a VBS file and select "Edit") is Notepad. And Notepad has no line or column counters. So you can buy a nice script editor like I did. Or use a fancy word processor or the old DOS program EDIT.COM.

cikjam 10-06-2009 07:12

Re: Debugging Your Scripts
 
Crtl G in notepad

xPaw 10-06-2009 07:22

Re: Debugging Your Scripts
 
Get free notepad++, or any other good editor

SnoW 10-06-2009 08:14

Re: Debugging Your Scripts
 
You can do this with default notepad and AMXXStudio, what's the point?


All times are GMT -4. The time now is 22:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.