tracker issue : CF-3043913

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 86991:(Watson Migration Closure)It would be useful if the line number and file where a CFDUMP is output could be automatically shown in the dump output

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Rachel Lehman / Rachel Lehman (raelehman)

Created: 07/22/2011

Components: Debugging, CFDump

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Platforms All

Vote Count: 5

Problem:

It would be useful if the line number and file where a CFDUMP is output could be automatically shown in the dump output. This can currently be done with the label attribute but it's a pain to do it manually.  If you're working with a long chain of files and are dumping in several places, it can be hard to track down stray dumps with this type of information. Or, if a stray dump makes it to production, this would make the problem much easier to find and fix.
Method:

<cfset myVar = {foo="bar",hey="ho"}><cfdump var="#myVar#" label="I wish this dump showed the current line number and file name">
Result:

Show additional information with CFDUMPs: display line number and file where dump originated

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3043913

External Customer Info:
External Company:  
External Customer Name: Rachel Lehman
External Customer Email: 77B84376484F2FB9992015A7
External Test Config: 07/22/2011

Attachments:

Comments: