> When I write code, I often need to know the value of a > variable at different points in a page. Up to now, I've > put output tags and <p> tags and displayed the variable > at that point on the page. Is there an easier way to > do this? > > In a javascript debugger, for example, you can set points > where you want to test the value of a variable and have > it display in the dev tool. Is there an equivalent in > CFStudio or DWMX?
Both CF Studio and Homesite+ support the ability to perform interactive debugging with CF Server; within an interactive debugging session, you can set breakpoints, watch variables, see generated output, and related things. Of course, this only works when using Studio or Homesite+ to run pages through a CF server. Also, while you can do all this stuff, I'd recommend that you stick to the method of debugging you're using now. Most CF code is pretty easy to debug, and I find it harder to use the interactive debugger than just to do "manual" debugging by adding outputs in various places. Also, the interactive debugger tends to cause CF to become unstable occasionally. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ::::::::::::: dream :: design :: develop ::::::::::::: MXDC 02 :: Join us at this all day conference for designers & developers to learn tips, tricks, best practices and more for the entire Macromedia MX suite. September 28, 2002 :: http://www.mxdc02.com/ (Register today, seats are limited!) :::::::::::::::::::::::::::::::::::::::::::::::::::::: ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

