Questions tagged [cfdump]

`` shows all the values associated with any ColdFusion variable.

<cfdump> shows all the information associated with any ColdFusion variable. It covers simple variables, structs, arrays, queries, and objects. By default it creates a color-coded expandable and collapse-able representation. It can also create a text only representation and can write to the file system.

In <cfscript>, one can use writedump(var) .

Example

enter image description here

Reference: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-d-e/cfdump.html

14 questions
7
votes
4 answers

Looking for an alternative to cfdump

I think I just realized how restrictive my web host is when they wouldn't let me use cfdump. This actually kind of angers me, cause really, what harm is dump going to do? Anyway my question is has anyone written a cfdump alternative that will kick…
invertedSpear
  • 10,864
  • 5
  • 39
  • 77
6
votes
3 answers

Parsing CFDUMP struct and store values

How do I parse this structure? I need to turn this into single variables. E.g. from the attributes struct: name type value I'm not familiar with structures, and I need to enter this type of data into a database. I've played around with cfloop,…
loo
  • 707
  • 10
  • 22
5
votes
2 answers

CF9: What is this evaluate statement evaluating?

I'm stuck and need a fresh set of eyes on this, please. I'm working with someone else's spaghetti code who is no longer around and having a heck of a time figuring out what they were evaluating.
HPWD
  • 2,232
  • 4
  • 31
  • 61
4
votes
1 answer

Is there a way to globally apply top attribute to cfdump/writeDump when dealing with ORM objects?

When dealing with nested ORM relations, using cfdump or writeDump can rapidly result in java.lang.OutOfMemoryError errors because CF attempts to resolve relations in nested objects and dump too many objects. This can be avoided with the top…
Peter Boughton
  • 110,170
  • 32
  • 120
  • 176
3
votes
3 answers

ruby dump object to html formatted string

Is there a ruby equivalent of ColdFusions cfdump tag. which can dump any object as a html formatted output. I want to use this to be able to dump any object into an email html body. I know there is Pretty Print and other gems out there that output…
theog
  • 2,062
  • 2
  • 14
  • 13
2
votes
1 answer

ColdFusion cfdump / cfoutput doesn't match query analyser results

I have created a query which displays different data when being executed in Microsoft SQL Server Management Studio express than it does when outputting in a browser either using cfdump or cfoutput. Here is the query: select count(stat_id) as val,…
weekev126
  • 23
  • 2
2
votes
4 answers

Can I use any other CF tags to replace CFDUMP?

In the application I designed, I named one of my web pages "error.cfm". I want it to display whenever there is an error from the application. So I put the following code inside "error.cfm": An uncaught exception just 'happened' :-( …
talk2shine
  • 21
  • 2
1
vote
2 answers

In Scripted Coldfusion Query - why would queryParams not get added?

I have a dynamically generated query, all but one params are optional with one required field. I thought I would be smart but something very odd happens. -cfscript // Standard new query(), set name, datasource…
user3005033
  • 131
  • 6
1
vote
2 answers

Dumping variables from lists ColdFusion 9

I have this struct after I dump it like this: How can I access the value inside the LIST? I need to compare that value with another variable in the future to allow me to do certain operations.
Geo
  • 3,160
  • 6
  • 41
  • 82
0
votes
1 answer

How can you see all the contents of a variable in a coldfusion template?

In PHP for example you can do: And see a dump of the entire variable with all it's available properties. How can you do this in a coldfusion template with a .cfm extension (in other words in the view layer not…
user967451
0
votes
0 answers

Cfdump equivalent in ASP.NET MVC 5

I need help learning to debug ASP MVC 5 apps. I'd like to be able to spit out the values of variables at any time the way you can with cfdump in ColdFusion. Is this possible?
abalter
  • 9,663
  • 17
  • 90
  • 145
0
votes
1 answer

CFdump and Bootstrap tooltips fight each other

I attach Bootstrap tooltips via $("[title]").tooltip({ html: true }); When I use a , title tags are attached all over the place. The start of the html looks like this
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
0
votes
2 answers

Need to see ColdFusion query params being sent and return data

Newbie to ColdFusion. I have a script that works for all vendors except one. The script passes a few params and receives a list of claims for the specified vendor with the exception of the vendor previously mentioned. I'd like to debug one function…
Dameon Bryant
  • 39
  • 1
  • 6
-1
votes
1 answer

How can I place a CFDUMP (or similar) within an tag

Background I'm currently writing my own (retrospective) line by line debugger for cold fusion because the existing line by line debuggers don't work for our version of cold fusion with our version of Eclipse. I have (for tag format at least) got…
Richard Tingle
  • 16,906
  • 5
  • 52
  • 77