Raised This Month: $ Target: $400
 0% 

Debugging Your Scripts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
llika
BANNED
Join Date: Oct 2009
Old 10-06-2009 , 04:16   Debugging Your Scripts
Reply With Quote #1

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.
llika is offline
cikjam
Senior Member
Join Date: Feb 2009
Location: Australia
Old 10-06-2009 , 07:12   Re: Debugging Your Scripts
Reply With Quote #2

Crtl G in notepad
__________________
R.I.P Aziz 'Zyzz' Sergeyevich Shavershian
cikjam is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 10-06-2009 , 07:22   Re: Debugging Your Scripts
Reply With Quote #3

Get free notepad++, or any other good editor
__________________
xPaw is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-06-2009 , 08:14   Re: Debugging Your Scripts
Reply With Quote #4

You can do this with default notepad and AMXXStudio, what's the point?
SnoW is offline
Send a message via MSN to SnoW
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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