[thelist] ASP/VBSCRIPT: debugging, stepping-through, etc.

Tom Dell'Aringa pixelmech at yahoo.com
Mon Jun 24 14:38:01 CDT 2002


Chris, the simplest way to debug at the outset is to print out stuff to yourself on the screen or
in alerts.

ie. = response.write("such an such variable here is:" + var)

in various places where you need to know info. Start there, you may be surprised how well it
works.

Tom
--- "Chris W. Parker" <cparker at swatgear.com> wrote:
> hi.
>
> i've got a complicated e-commerce script that is not working. i didn't
> write it so i've had to sift my way through the code, trying to follow
> the correct progression. however, it is driving me crazy since i cannot
> find what's going wrong.
>
> is there a way to step through vbscript as it is executed by the server?
> being able to do that would completely solve my problem i'm sure.
>
> OR
>
> does anyone have any suggestions as to how to best debug something like
> this? i already use a function i created (called debugWrite()) that is
> only executed when the debug variable is set to 1. but still, this
> doesn't help too much since it's not very feasible to put a function
> call after each line of code. but i'm all ears if you have any ideas.
>
>
> thanks,
> chris.
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the thelist mailing list