RE: debugging complaint

2005-10-31 Thread Hugo Ahlenius
It should be possible to find the 4.5 era cf_dump custom tag (the
predecessor to cfdump). There might even be multiple implementations out
there. Should work fine for arrays, structures and simple vars.

/H.


--
Hugo Ahlenius

-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:  +46 8 412 1427
UNEP GRID-Arendal  Fax:+46 8 723 0348
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
   Skype:callto:fraxxinus
  PLEASE NOTE: NEW PHONE AND FAX NUMBERS FROM SEPT 1ST 2005
- 

###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222709
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: debugging complaint

2005-10-30 Thread Snake
Why not just do that dynamically.

cfif NOT IsDebugMode()
doctype
/cfif 

--
Snake

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: 28 October 2005 23:57
To: CF-Talk
Subject: Re: debugging complaint

i've seen where doctypes will remove all colors from a cfdump (border colors
and background colors), rendering it highly ineffective.

removing the doctype declaration normally fixes this for me.  (of course, it
goes back in prior to going to production) :)

On 10/28/05, Ryan Guill [EMAIL PROTECTED] wrote:
 hey ray, somewhat on and off topic,

 do you know if it is possible to modify the cfdump structure?
 particularly the stylesheet.  I had a developer ping me the other day 
 about the cfdump stylesheet color specifications did not use pound 
 signs, something like color: 336633;

 He said it was using a browser that wasn't liking it or something.  As 
 far as I can tell there is no way, thats an innerds of cf thing, but 
 just wondered if you knew if it was possible.

 On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
  Something else to consider. My starfish project handles debugging 
  info, stuff like the time it took to do X. It does NOT handle erorrs.
 
  However...
 
  It IS possible to modify error behaviour. I've written to blog entries
on this.
 
  This entry:
  http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modi
  fications
 
  Tells you how ot make stack traces collapse in Firefox, like they do in
IE.
 
  This entry: 
  http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-
  Templates-in-CFMX-701 Will make it so if you use a struct key that 
  doesn't exist, the error will tell you which keys _do_ exist in the 
  struct, which is VERY helpful. Ie, instead of, you can't do foo.goo, 
  you get, you can't do foo.goo, but moo and zoo are valid keys.
 
  This is ALL something you do NOT want to do on a production server, 
  but it may be of use to you.
 
 
  On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
   Some good points Jim,...thanks...good points to ponder for sure..
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development Electric Edge Systems 
   Group Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: [EMAIL PROTECTED]
   web: www.electricedgesystems.com
  
  
 
 

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222642
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-30 Thread Raymond Camden
Others have already answered, but another idea is to just write your
own cfdump. It wouldn't be too hard. :) Another idea - write a custom
tag that calls cfdump and all your tag does is a regex on the result
of cfdump - ie - a wrapper. Just some random ideas.:)

On 10/28/05, Ryan Guill [EMAIL PROTECTED] wrote:
 hey ray, somewhat on and off topic,

 do you know if it is possible to modify the cfdump structure?
 particularly the stylesheet.  I had a developer ping me the other day
 about the cfdump stylesheet color specifications did not use pound
 signs, something like color: 336633;

 He said it was using a browser that wasn't liking it or something.  As
 far as I can tell there is no way, thats an innerds of cf thing, but
 just wondered if you knew if it was possible.

 On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
  Something else to consider. My starfish project handles debugging
  info, stuff like the time it took to do X. It does NOT handle erorrs.
 
  However...
 
  It IS possible to modify error behaviour. I've written to blog entries on 
  this.
 
  This entry:
  http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modifications
 
  Tells you how ot make stack traces collapse in Firefox, like they do in IE.
 
  This entry: 
  http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-Templates-in-CFMX-701
  Will make it so if you use a struct key that doesn't exist, the error
  will tell you which keys _do_ exist in the struct, which is VERY
  helpful. Ie, instead of, you can't do foo.goo, you get, you can't do
  foo.goo, but moo and zoo are valid keys.
 
  This is ALL something you do NOT want to do on a production server,
  but it may be of use to you.
 
 
  On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
   Some good points Jim,...thanks...good points to ponder for sure..
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development
   Electric Edge Systems Group Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: [EMAIL PROTECTED]
   web: www.electricedgesystems.com
  
  
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222653
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: debugging complaint

2005-10-30 Thread Snake
 actually cfdump is just a regular custom tag, altho it is encrypted.
But you could effectively replace it.

Russ

On 10/28/05, Ryan Guill [EMAIL PROTECTED] wrote:
 hey ray, somewhat on and off topic,

 do you know if it is possible to modify the cfdump structure?
 particularly the stylesheet.  I had a developer ping me the other day 
 about the cfdump stylesheet color specifications did not use pound 
 signs, something like color: 336633;

 He said it was using a browser that wasn't liking it or something.  As 
 far as I can tell there is no way, thats an innerds of cf thing, but 
 just wondered if you knew if it was possible.

 On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
  Something else to consider. My starfish project handles debugging 
  info, stuff like the time it took to do X. It does NOT handle erorrs.
 
  However...
 
  It IS possible to modify error behaviour. I've written to blog entries
on this.
 
  This entry:
  http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modi
  fications
 
  Tells you how ot make stack traces collapse in Firefox, like they do in
IE.
 
  This entry: 
  http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-
  Templates-in-CFMX-701 Will make it so if you use a struct key that 
  doesn't exist, the error will tell you which keys _do_ exist in the 
  struct, which is VERY helpful. Ie, instead of, you can't do foo.goo, 
  you get, you can't do foo.goo, but moo and zoo are valid keys.
 
  This is ALL something you do NOT want to do on a production server, 
  but it may be of use to you.
 
 
  On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
   Some good points Jim,...thanks...good points to ponder for sure..
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development Electric Edge Systems 
   Group Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: [EMAIL PROTECTED]
   web: www.electricedgesystems.com
  
  
 
 

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


debugging complaint

2005-10-28 Thread Bryan Stevenson
Hey All,

You know it just hit me that CF debugging could be so much more informative in 
certain situations...and I wonder if anyone can tell me why it isn't?? ;-)

Here's a great example to do with CFCs

Pass an argument of type numeric to a method (but the value passed is not 
numeric).  So we get the standard argument XYZ passed to method ABC is not of 
type numeric.  OK...so at least we know we've passed something 
inappropriate...but what the heck is so hard about stating what was actually 
passed!!!??? ;-)

In the above situation you then have to go and add a cfdump to see what exactly 
is getting passed to the method...yet another time waster that on the surface 
seems pretty dang easy to add to debugging output.

OK...rant's over...thanks for listening...and if anyone can explain whyy this 
would be hard to add...lemme know ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222594
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Charlie Griefer
I don't know if it's the answer you seek... but have you looked at
Ray's Starfish? (there's a question i never pictured myself asking).


http://ray.camdenfamily.com/index.cfm/2005/10/24/Starfish-ColdFusion-Debugger-Version-0-Released


On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Hey All,

 You know it just hit me that CF debugging could be so much more informative 
 in certain situations...and I wonder if anyone can tell me why it isn't?? ;-)

 Here's a great example to do with CFCs

 Pass an argument of type numeric to a method (but the value passed is not 
 numeric).  So we get the standard argument XYZ passed to method ABC is not 
 of type numeric.  OK...so at least we know we've passed something 
 inappropriate...but what the heck is so hard about stating what was actually 
 passed!!!??? ;-)

 In the above situation you then have to go and add a cfdump to see what 
 exactly is getting passed to the method...yet another time waster that on the 
 surface seems pretty dang easy to add to debugging output.

 OK...rant's over...thanks for listening...and if anyone can explain whyy this 
 would be hard to add...lemme know ;-)

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222596
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ray Champagne
Tried, but couldn't get the mirror in the right position to see anything.

:)

Ray

Charlie Griefer wrote:
 I don't know if it's the answer you seek... but have you looked at
 Ray's Starfish? (there's a question i never pictured myself asking).
 
 
 http://ray.camdenfamily.com/index.cfm/2005/10/24/Starfish-ColdFusion-Debugger-Version-0-Released
 
 
 On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 
Hey All,

You know it just hit me that CF debugging could be so much more informative 
in certain situations...and I wonder if anyone can tell me why it isn't?? ;-)

Here's a great example to do with CFCs

Pass an argument of type numeric to a method (but the value passed is not 
numeric).  So we get the standard argument XYZ passed to method ABC is not 
of type numeric.  OK...so at least we know we've passed something 
inappropriate...but what the heck is so hard about stating what was actually 
passed!!!??? ;-)

In the above situation you then have to go and add a cfdump to see what 
exactly is getting passed to the method...yet another time waster that on the 
surface seems pretty dang easy to add to debugging output.

OK...rant's over...thanks for listening...and if anyone can explain whyy this 
would be hard to add...lemme know ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com


 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222597
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
Yeah I'll have to sneek a peak at Ray's Starfish ;-)

but I guess I'm really wondering why MM doesn't add something that seems 
so simple?

Thanks Charlie

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222598
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
 Tried, but couldn't get the mirror in the right position to see anything.
 
 :)
 
 Ray

Yep it's Friday alright ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222599
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: debugging complaint

2005-10-28 Thread Michael T. Tangorre
 From: Ray Champagne [mailto:[EMAIL PROTECTED] 
 Tried, but couldn't get the mirror in the right position to 
 see anything.
 
 :)

LOL. That's because you are too busy watching your neighbor try on her new
purchases (head over to cf-community for the rest of the story) :-)





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222600
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ken Ferguson
Should it also look at the code in question and try to fix it for you? 
Should it suggest a page in the CFWACK where you can read about this 
particular error? How about if it included a quick-link which would 
automatically send a message to the HOF message board to ask others how 
to fix it? Maybe it should try and console you at the same time to make 
sure that you know it's really not your fault and you really are a good 
person...

I am, of course, only messing with you here Bryan. However, I do think 
that this is one of those sort of, just how much IS enough type of 
things. CF's error messages and debugging, in my opinion, are infinitely 
better than most languages/software.

--Ferg

Bryan Stevenson wrote:

Hey All,

You know it just hit me that CF debugging could be so much more informative in 
certain situations...and I wonder if anyone can tell me why it isn't?? ;-)

Here's a great example to do with CFCs

Pass an argument of type numeric to a method (but the value passed is not 
numeric).  So we get the standard argument XYZ passed to method ABC is not of 
type numeric.  OK...so at least we know we've passed something 
inappropriate...but what the heck is so hard about stating what was actually 
passed!!!??? ;-)

In the above situation you then have to go and add a cfdump to see what 
exactly is getting passed to the method...yet another time waster that on the 
surface seems pretty dang easy to add to debugging output.

OK...rant's over...thanks for listening...and if anyone can explain whyy this 
would be hard to add...lemme know ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
  



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222603
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ryan Guill
CF's error messages and debugging, in my opinion, are infinitely
 better than most languages/software.

amen.  We dont often realise how good we have it.

--
Ryan Guill
BlueEyesDevelopment
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk?  Chat me at [EMAIL PROTECTED]

The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

www.ryanguill.com/
The Roman Empire: www.ryanguill.com/blog/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222606
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
 I am, of course, only messing with you here Bryan. However, I do think
 that this is one of those sort of, just how much IS enough type of
 things. CF's error messages and debugging, in my opinion, are infinitely
 better than most languages/software.

 --Ferg

It's Friday...I'd expect nothing less ;-)

Yeah...with the example I gave it just seems like  a no-brainer to add...if 
ya know it's not the right data type...you must know what the value passed 
was...so just tell me!! ;-)

Certainly not looking to open the how far should we go thread...

I like this idea though
How about if it included a quick-link which would
 automatically send a message to the HOF message board to ask others how
 to fix it?

Now that would be sweet!!

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222607
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
yep...so much better...it makes me laugh everytime I see a .NET error...like 
reading a foreign language

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: debugging complaint

2005-10-28 Thread Jim Davis
 -Original Message-
 From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 28, 2005 2:36 PM
 To: CF-Talk
 Subject: debugging complaint
 
 Hey All,
 
 You know it just hit me that CF debugging could be so much more
 informative in certain situations...and I wonder if anyone can tell me why
 it isn't?? ;-)
 
 Here's a great example to do with CFCs
 
 Pass an argument of type numeric to a method (but the value passed is not
 numeric).  So we get the standard argument XYZ passed to method ABC is
 not of type numeric.  OK...so at least we know we've passed something
 inappropriate...but what the heck is so hard about stating what was
 actually passed!!!??? ;-)

I think the simple answer is that it's harder than it appears.

What if the value is confidential - you'd really need an option to display
values or not (some people still dump errors to the page or to comments).
There are already issues like this with some error cases (SQL errors for
example) that people have complained about in the past (which is one reason
that the debugging settings have continually gotten more complex).

What if the value passed isn't a simple value?  Do you dump a potentially
huge amount of information to the screen?

What if the value is a simple value but is, say, several pages of text?  Do
you dump the whole thing?  Just some of it?  How much of it?

There's also the simple fact that the more complex you make error reporting
the more likely it is that the error reporting itself will encounter
errors... and then things just go straight to hell.  ;^)

I'm not saying that things can't be better... but I also can see how they
may be harder than they appear to be.

Jim Davis



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222610
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ken Ferguson
and what's even better is a gool ole Oracle error

Error ORA-00060

What, that's it? Really? Are you serious? I can't get ANY more insight 
than that? I mean, you had to notice that it was a deadlock and then 
look up the code in the internal database. So it was actually MORE 
difficult to show me the useless error message than it would have been 
to say, deadlock.

CF is really great in this area.

--Ferg


Bryan Stevenson wrote:

yep...so much better...it makes me laugh everytime I see a .NET error...like 
reading a foreign language

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222611
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
Some good points Jim,...thanks...good points to ponder for sure..

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222612
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Raymond Camden
Something else to consider. My starfish project handles debugging
info, stuff like the time it took to do X. It does NOT handle erorrs.

However...

It IS possible to modify error behaviour. I've written to blog entries on this.

This entry:
http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modifications

Tells you how ot make stack traces collapse in Firefox, like they do in IE.

This entry: 
http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-Templates-in-CFMX-701
Will make it so if you use a struct key that doesn't exist, the error
will tell you which keys _do_ exist in the struct, which is VERY
helpful. Ie, instead of, you can't do foo.goo, you get, you can't do
foo.goo, but moo and zoo are valid keys.

This is ALL something you do NOT want to do on a production server,
but it may be of use to you.


On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
 Some good points Jim,...thanks...good points to ponder for sure..

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222620
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Bryan Stevenson
Thanks for the clarification and the tips Ray...much appreciated (one part 
of CF I've never really looked under the hood) ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222621
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ryan Guill
hey ray, somewhat on and off topic,

do you know if it is possible to modify the cfdump structure?
particularly the stylesheet.  I had a developer ping me the other day
about the cfdump stylesheet color specifications did not use pound
signs, something like color: 336633;

He said it was using a browser that wasn't liking it or something.  As
far as I can tell there is no way, thats an innerds of cf thing, but
just wondered if you knew if it was possible.

On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
 Something else to consider. My starfish project handles debugging
 info, stuff like the time it took to do X. It does NOT handle erorrs.

 However...

 It IS possible to modify error behaviour. I've written to blog entries on 
 this.

 This entry:
 http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modifications

 Tells you how ot make stack traces collapse in Firefox, like they do in IE.

 This entry: 
 http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-Templates-in-CFMX-701
 Will make it so if you use a struct key that doesn't exist, the error
 will tell you which keys _do_ exist in the struct, which is VERY
 helpful. Ie, instead of, you can't do foo.goo, you get, you can't do
 foo.goo, but moo and zoo are valid keys.

 This is ALL something you do NOT want to do on a production server,
 but it may be of use to you.


 On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
  Some good points Jim,...thanks...good points to ponder for sure..
 
  Bryan Stevenson B.Comm.
  VP  Director of E-Commerce Development
  Electric Edge Systems Group Inc.
  phone: 250.480.0642
  fax: 250.480.1264
  cell: 250.920.8830
  e-mail: [EMAIL PROTECTED]
  web: www.electricedgesystems.com
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222630
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Charlie Griefer
i've seen where doctypes will remove all colors from a cfdump (border
colors and background colors), rendering it highly ineffective.

removing the doctype declaration normally fixes this for me.  (of
course, it goes back in prior to going to production) :)

On 10/28/05, Ryan Guill [EMAIL PROTECTED] wrote:
 hey ray, somewhat on and off topic,

 do you know if it is possible to modify the cfdump structure?
 particularly the stylesheet.  I had a developer ping me the other day
 about the cfdump stylesheet color specifications did not use pound
 signs, something like color: 336633;

 He said it was using a browser that wasn't liking it or something.  As
 far as I can tell there is no way, thats an innerds of cf thing, but
 just wondered if you knew if it was possible.

 On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
  Something else to consider. My starfish project handles debugging
  info, stuff like the time it took to do X. It does NOT handle erorrs.
 
  However...
 
  It IS possible to modify error behaviour. I've written to blog entries on 
  this.
 
  This entry:
  http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modifications
 
  Tells you how ot make stack traces collapse in Firefox, like they do in IE.
 
  This entry: 
  http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-Templates-in-CFMX-701
  Will make it so if you use a struct key that doesn't exist, the error
  will tell you which keys _do_ exist in the struct, which is VERY
  helpful. Ie, instead of, you can't do foo.goo, you get, you can't do
  foo.goo, but moo and zoo are valid keys.
 
  This is ALL something you do NOT want to do on a production server,
  but it may be of use to you.
 
 
  On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
   Some good points Jim,...thanks...good points to ponder for sure..
  
   Bryan Stevenson B.Comm.
   VP  Director of E-Commerce Development
   Electric Edge Systems Group Inc.
   phone: 250.480.0642
   fax: 250.480.1264
   cell: 250.920.8830
   e-mail: [EMAIL PROTECTED]
   web: www.electricedgesystems.com
  
  
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222632
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: debugging complaint

2005-10-28 Thread Ryan Guill
Thanks charlie, thats good to know.

On 10/28/05, Charlie Griefer [EMAIL PROTECTED] wrote:
 i've seen where doctypes will remove all colors from a cfdump (border
 colors and background colors), rendering it highly ineffective.

 removing the doctype declaration normally fixes this for me.  (of
 course, it goes back in prior to going to production) :)

 On 10/28/05, Ryan Guill [EMAIL PROTECTED] wrote:
  hey ray, somewhat on and off topic,
 
  do you know if it is possible to modify the cfdump structure?
  particularly the stylesheet.  I had a developer ping me the other day
  about the cfdump stylesheet color specifications did not use pound
  signs, something like color: 336633;
 
  He said it was using a browser that wasn't liking it or something.  As
  far as I can tell there is no way, thats an innerds of cf thing, but
  just wondered if you knew if it was possible.
 
  On 10/28/05, Raymond Camden [EMAIL PROTECTED] wrote:
   Something else to consider. My starfish project handles debugging
   info, stuff like the time it took to do X. It does NOT handle erorrs.
  
   However...
  
   It IS possible to modify error behaviour. I've written to blog entries on 
   this.
  
   This entry:
   http://ray.camdenfamily.com/index.cfm/2005/7/14/More-CFMX-Error-Modifications
  
   Tells you how ot make stack traces collapse in Firefox, like they do in 
   IE.
  
   This entry: 
   http://ray.camdenfamily.com/index.cfm/2005/10/4/Modifying-Exception-Templates-in-CFMX-701
   Will make it so if you use a struct key that doesn't exist, the error
   will tell you which keys _do_ exist in the struct, which is VERY
   helpful. Ie, instead of, you can't do foo.goo, you get, you can't do
   foo.goo, but moo and zoo are valid keys.
  
   This is ALL something you do NOT want to do on a production server,
   but it may be of use to you.
  
  
   On 10/28/05, Bryan Stevenson [EMAIL PROTECTED] wrote:
Some good points Jim,...thanks...good points to ponder for sure..
   
Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
   
   
  
  
 
 

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54