Basic Customization > User Interface Customization > Information Pages > Customizing Information Page Components > Debugging
  
Debugging
Add jcaDebug=true to the URL to see some debug info displayed on the info page. http://<hostName>/<webApp>/app/#ptc1/tcomp/infoPage?typeIdForTypeLookup=com.ptc.carambola.customization.examples.infoPage.Carambola&jcaDebug=true In particular, at the top of the page jcaDebugdisplays whether a ComponentConfigBuilder or a jsp produced the page.
Also available are which action models were used for the Actions menu, the top tab set and the Customize option that lets you add tables to the tabs. See the jcaDebug documentation for more details about what is displayed and where to find it.
Log4J
The following log4J loggers are available to provide you more information when debugging your Information Page implementation:
Logger
Description
com.ptc.core.components.validators.VisualizationAndAttributesFilter
Logs information related to the hiding and showing of the primaryAttributes or visualizationAndAttributes components. See Attributes v.s. Visualization and Attributes
com.ptc.jca.mvc.components.AbstractInfoComponentBuilder
Logs information related to finding the context object for the information page.
com.ptc.mvc.components.AbstractInfoConfigBuilder
Logs information related to the view chosen for the information page. This may be useful if you are trying to set a custom view.
com.ptc.jca.mvc.controllers.TypeBasedIncludeController
Logs information related to determining whether the requested information page is being rendered with a legacy jsp or an MVC builder.
Log4javascript
Log4javascript is also available for debugging within the browser. You can turn this on by adding a parameter to the end of the url. “&jsLog=PTC”. This will turn on all the JavaScript logging. You will then see the logging information in the FF/Chrome console or in a separate console which opens when you add the parameter in IE browsers. The following loggers can also be turned on individually by setting jsLog=<loggername>.
Logger
Description
PTC.infoPage
Logs information about errors encountered when rendering an info page as well as, information related to refreshing the top area of the page.
PTC.infoPage.ActiveTab
Logs information related to selecting the active tab based on defaults, stickiness and potential overrides.
PTC.jca.state.ClientStateStore
Logs information related to the stickiness information being stored and retrieved for client side stickiness.
PTC.infoPageTableMgr
Logs information about the adding and removing of tables from the tabs on an information page.
PTC.jca.manager
Logs information about the adding and removing of tables from the tabs on an information page and about the adding and removing of tabs.