RidgeStar
About
Locations
Manual
Preface
Introduction
Versions
Concepts
Construction
Usage
Operations
Questions
Features
Settings
Internals
Cookies
Database
Debug
Diagnose
Properties
Server Software
Setsql
Appendices
Reference
Service
Logon
RidgeStar

Manual: Internals-Debug

Logontranslate
Get Started |Calendar |Locations

Understanding and Using Debug Mode

Much of a RidgeStar Interactive SiteInteractive Site is interactive, operates in real-time, and is driven by the current status of one or more Database Tables. Many of the web pages produce information, like results lists, based on a dynamically created SQL (Structured Query Language) construct that is executed by the backend database.

Additionally, various functions on the site contain multiple internal messages, value settings, etc. that are useful when looking at how a particular page or function is operating from an "Internals" standpoint. Much of this information is of no consequence to a typical VisitorVisitor and, in fact, to 99% of the SiteManagers. However, when something isn't quite going right and one of the RidgeStarRidgeStar technicians needs to debug a bit of logic, we may need to "trigger" certain internal elements (such as dumping of internal arrays, calling lists, etc.) without being forced to manually change the pages.

Turning ON Debug mode
You can activate debug mode by adding the keyword sequence "debug=1" to any interactive page. You need to understand how HTTP uses the question mark (?) and ampersand (&) to separate keywords from the page name, but here's an example using this page of what you'd put in the Address/Location area:

http://ridgestar.com/debugmode.php?debug=1

Turning OFF Debug mode
To disable debug mode, add the keyword sequence "debug=0" to any interactive page, as

http://ridgestar.com/debugmode.php?debug=0

What happens when Debug is on?

The specific output associated with Debug Mode differs from page to page depending on what the RidgeStar Technician programmmed for Debugging purposes on the page.

To display an example of a Debug element in the space below this paragraph, turn on Debug as described in the paragraph titled "Turning ON Debug mode".