Print Page | Close Window

ASP debugger

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=9273
Printed Date: 01 April 2026 at 2:32am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP debugger
Posted By: ngaisteve1
Subject: ASP debugger
Date Posted: 26 January 2004 at 11:34pm
My superior ask me to look for asp debugger. I tried to look for it but seems to be no many. Do you think there's a need for this asp debugger software? Since I can't get any evaluation copy, I can't find out if it helps me in debugging asp. All this while, I just need a text editor. I used Macromedia Dreamweaver in the past but now changed to HTMLKit. Just hope to hear from you all (ASP developer). If there is a need, which one do you guys recommend?



Replies:
Posted By: ljamal
Date Posted: 27 January 2004 at 12:20am
I've been coding ASP since 1997 without ever needing a debugger. Do they even make ASP debuggers?

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: psycotik
Date Posted: 27 January 2004 at 6:29am

There is a way to do this.. its pretty basic in its functionality.

Basically you can do an ON ERROR RESUME NEXT (goto isnt supported).

At the end of your page you can call an include file which has the following code:

Dim objErrorInfo
Set objErrorInfo = Server.GetLastError

Response.Write("ASPCode = " & objErrorInfo.ASPCode)
Response.Write("ASPDescription = " & objErrorInfo.ASPDescription)
Response.Write("Category = " & objErrorInfo.Category)
Response.Write("Column = " & objErrorInfo.Column)
Response.Write("Description = " & objErrorInfo.Description)
Response.Write("File = " & objErrorInfo.File)
Response.Write("Line = " & objErrorInfo.Line)
Response.Write("Number = " & objErrorInfo.Number)
Response.Write("Source = " & objErrorInfo.Source)

http://www.devguru.com/Technologies/asp/quickref/server_getlasterror.html - http://www.devguru.com/Technologies/asp/quickref/server_getl asterror.html
http://www.devguru.com/Technologies/asp/quickref/asperror.html - http://www.devguru.com/Technologies/asp/quickref/asperror.ht ml

That is basically the best you can get in regards to asp debugging (on the code side of things).




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net