Zen Cart Logo
Forums / General Questions / Need a debug tool to read variables

Need a debug tool to read variables

Locked

Views: 933

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 May 2009, 8:04 PM
#1
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Need a debug tool to read variables

Can someone recommend a low cost or free debug tool that will display the contents of variables within ZenCart?

31 May 2009, 8:07 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Need a debug tool to read variables

Admin>Tools>Developers Tool Kit won't do what you need?

You might look into the Web Developer & Firebug add-ons for FireFox. (Both free)

1 Jun 2009, 2:52 AM
#3
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Need a debug tool to read variables

Get Em Fast:

Admin>Tools>Developers Tool Kit won't do what you need?

The Zencart Developers Tool Kit does a great job of locating where constants, variables etc appear in the code but does not display the contents of variables.

What I want to do is troubleshoot where/why a variable's contents changes. Problem at hand.... I have my shipping options set to NOT display package weight however on one of my websites the weight continues to be displayed in the order totals lines on my invoices and packing slips whenever UPS is the selected shipping method.. It also appears in customer's order information viewable from his/her Account pages. My admin-> Shipping/Packaging is set properly as is the UPS module and I have viewed the settings within the database. So I need a debug tool to track if and when ot_shipping gets reset to other than zero.

In my former life many years ago working at DEC we had test tools that would display the contents of selected variables throughout the file code while the program was running. I have not worked in the field for many years so don't remember what the debug tool was called and it is likely there are lower cost and better tools available now.

Get Em Fast:

You might look into the Web Developer & Firebug add-ons for FireFox. (Both free)

I'll check these out.

1 Jun 2009, 2:59 AM
#4
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Need a debug tool to read variables

I just discovered Super Globals Plus in the downloads area. From the description it sounds like just what I want. I shot right over that item earlier because the name of the tool threw me off track.

1 Jun 2009, 3:11 AM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Need a debug tool to read variables

Cool. You might also look at THIS. Although, I've never used it, it might be just what you need.

There's also a way to show errors built into the core files, just commented out..........now if I could just remember where.......Dr. Byte, where are you?