Re: Advice on debugging
thanks for the advice, it has been very helpful as i turned on the enable debugging in the coldfusion thinking that would help me, but noticed very quickly that it provided data that confused me and can only be used for certain things. I will check out the links and use cfdump and cfabort for most of the debugging thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Advice on debugging
hi brian, thanks for the reply. I will def check out the 2 products seeing as you recommend them very highly ;) Is it flash you have used to do alot of your site? If yes, then i have noticed you must have highly optimised the flash so that it isnt slow. I would love to learn how to optimise flash so that it does this. There is another developer www.liquidchrome.net, one of his sites www.patnic.com also prodomintely use flash, and i am amazed at how fast they are. would love it if you can provide me with a link to any discussions on this, thanks . thanks again for the links and the advice :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Advice on debugging
Hi Richard, For ColdFusion MX debugging, I would highly recommend FusionDebug from Intergral. A link with a coupon code can be found on my site: http://www.centrasoft.com/fusiondebug.cfm For Javascript debugging, I would recommend FireBug for FireFox: https://addons.mozilla.org/firefox/1843/ There are also other JS debugger on the market too, and any one of them should be able to do most tricks. Heck, the JS debugger with IE (not sure if it's packaged because of Visual Studio being installed) is pretty decent at figuring out problems. I think it's important to remember that debugging CF code and JS code are two different things. The only time that they'll probably intersect is if you're building the JS dynamically using CF code, and even then, technically, they're still 2 separate processes of code to debug. hth, Brian > Hi, > > I would first like to say a big thank you to every one that has helped > me over the last few weeks. I am new to coldfusion and this site has > been awesome. The responses are very quick from people that have > obviously been developing for a long time. You have really helped take > the pressure of me and helped me understand internet applications, so > thank you :) > > i would really appreciate some advice on using the debugging in CF. I > have read the tutorials on debugging but would like some advice on the > best use of the features that are available. > > Also, I have noticed that sometimes, especially with javascript, that > if i have done something wrong in the code, it just doesnt work. Is > there anyway i can make the page tell me where something has gone > wrong? > > thanks for any advice > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Advice on debugging
I'd also suggest using Firefox for javascript debugging. It's far more robust than IE's error messages (which are basically useless). As for debugging in Coldfusion, the cfdump tag is your friend! Each of those will output the contents of whatever variable you specify. For complex data types (queries, structures, arrays) you'll see a table containing name/value pairs. For simple data types, you'll just see a string representation of the value of that variable. There's also value using a plain ole cfoutput block to output variables. Sort of a poormans break point. Make use of the cfabort () tag to halt processing so that you can inspect the values. Those are the main things that I use. -Original Message- From: Richard White [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 7:24 AM To: CF-Talk Subject: Advice on debugging Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Advice on debugging
You can get browser plugins (esp. for Firefox) that help with JavaScript debugging. I think the favourite one is FireBug. For CF debugging, there are a couple of tools that you can pay for (FusionDebug and FusionReactor), but I've no idea how good they might be. Personally, for CF I mainly make use of appropriately placed CFDUMP and CFABORT tags, and for JS I rely on the JS/Error console, and again dumping out simple variables within alert()s. > Hi, > > I would first like to say a big thank you to every one that has helped > me over the last few weeks. I am new to coldfusion and this site has > been awesome. The responses are very quick from people that have > obviously been developing for a long time. You have really helped take > the pressure of me and helped me understand internet applications, so > thank you :) > > i would really appreciate some advice on using the debugging in CF. I > have read the tutorials on debugging but would like some advice on the > best use of the features that are available. > > Also, I have noticed that sometimes, especially with javascript, that > if i have done something wrong in the code, it just doesnt work. Is > there anyway i can make the page tell me where something has gone > wrong? > > thanks for any advice > ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Advice on debugging
Hi, I would first like to say a big thank you to every one that has helped me over the last few weeks. I am new to coldfusion and this site has been awesome. The responses are very quick from people that have obviously been developing for a long time. You have really helped take the pressure of me and helped me understand internet applications, so thank you :) i would really appreciate some advice on using the debugging in CF. I have read the tutorials on debugging but would like some advice on the best use of the features that are available. Also, I have noticed that sometimes, especially with javascript, that if i have done something wrong in the code, it just doesnt work. Is there anyway i can make the page tell me where something has gone wrong? thanks for any advice ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4