[thelist] Beginner Debugging Question

.jeff jeff at members.evolt.org
Mon Oct 21 23:46:01 CDT 2002


> From: Will S. Johnston
> I'm wondering what the best approach to debugging would
> be? I use the following URL to my local server to access
> the page
> http://localhost:8500/ows/10/details3.cfm?FilmID=2, but
> end up getting a 'http 500 internal server error'. Is
> there any sort of step function for debugging where you
> can step through your code  as it executes and watch it
> incrementally?

there's the built-in debugger in cf studio, but i don't personally know anyone who actually uses it.  if you're getting an http 500 error, there are other problems to deal with than the coldfusion code in the details3.cfm template.

what are the details of the machine the coldfusion server is intalled on?  what are the details of the server software?

> Also, how does one comment out cold fusion tags? It
> seems that using comments to temporarily by-pass code
> does not always work.

coldfusion comments use three hyphens on the beginning and end:

<!--- coldfusion comment --->

<!-- html comment -->

> If you have suggestions on debugging I would really
> apprecite it.

turn on debugging in the administrator.  make sure to add your ip address to the ip addresses allowed to see debugging.  start there and work your way up to more thorough means of debugging.


jeff at members.evolt.org

More information about the thelist mailing list