Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP debugger
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP debugger

 Post Reply Post Reply
Author
ngaisteve1 View Drop Down
Groupie
Groupie
Avatar

Joined: 26 December 2002
Location: Malaysia
Status: Offline
Points: 169
Post Options Post Options   Thanks (0) Thanks(0)   Quote ngaisteve1 Quote  Post ReplyReply Direct Link To This Post Topic: ASP debugger
    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?
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
psycotik View Drop Down
Groupie
Groupie


Joined: 27 November 2003
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote psycotik Quote  Post ReplyReply Direct Link To This Post 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_getl asterror.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).

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.