Location: US, CO
Member Is Offline
| posted on 6/27/2006 at 10:54 AM
configuration errors you can use what you already have:
- Web Servera??s Log File
- Alert boxes
browsera??s configuration while developing web sites.
To enable error reporting in Internet Explorer make sure a??Disable script debugginga?? checkbox is not checked at Tools->Internet
Options->Advanced->Browsing. If a??Display a notification about every script errora?? option is not checked you should look for error icon in
the status bar of the browser while testing the page. Note that error message are displayed separately and you need to use a??Preva?? and a??Nexta??
buttons to see them all.
so there is no advantage in using some other browsers for debugging. To enable and access error messages in browser not listed here consult its user
2. Web Servera??s Log File
Web servera??s log is the text file where web server registers all the requests it receives. Some script configuration problems are caused by invalid
status 404 (Resource not found error), the message also displays what invalid URL the script tried to access:
Contact your server administrator or web hosting provider for instructions how to access web servera??s log files. Log files are not available if
development environment doesna??t use web server.
3. View Source
When debugging client side code it is important to see actual code that browser receives especially when client side code is generated dynamically by
server side script. Use browsera??s View->Source feature to inspect client side HTML code. To view code inside linked configuration files (.JS,
.CSS etc) put the URL of the file in address bar of the browser, press Enter, save file to disk and then use text editor to see the content. Some
Explorer then remove temporary files Tools->Internet Options->General->Temporary Internet Files->Delete Files.
4. Alert Boxes
HTML document, what value is assigned to some variable etc. For example add