]project-open[ : @This Wiki
Portrait

Welcome, Unregistered Visitor

 · · · Index · Login/Register

Contents





6 registered users
 in last 24 hours

Debugging

"Watch" Packages

To make sure that tcl libs are sourced with a page call, add the follwing line to your tcl pages. This serves as a shortcut to the more laborious setting using the OpenACS Package Manager.
Example: Source all procs located in ~/packages/intranet-core/tcl/intranet-project-procs.tcl:

ns_eval [source "[acs_root_dir]/packages/intranet-core/tcl/intranet-project-procs.tcl"]

Debugging Permissions & Privileges

Each page generates a log of all Permissions & Privileges that had been evaluated during page creation.

To see a protocoll, please active the OpenACS Developer Toolbar and click the USR button.
The page will refresh and besides showing an input/select field with user accounts, you should see a protocol of all Permissions and Privileges evaluated.

 

Note:
If you are not running the most recent version of ]po[ you might need to partialy update your installation in order to get access to this feature.
Please make sure that you use the latest version of the following files: 

  • packages/intranet-core/tcl/intranet-permission-procs.tcl
  • packages/intranet-core/tcl/intranet-ds-procs.tcl
  • packages/acs-tcl/tcl parameter-procs.tcl 
  • packages/intranet-core/www/master.tcl

Firebug Integration

Our partner Josep Vela (actio ad futurum) provided an Extension that allows to output debugging data to the Browser console. The package requires TCL 8.5. Documentation is available in ESP only.
We will soon review the package soon and consider adding it to the ]po[ CVS. Meanwhile please find the files below:

Please take a moment to complete this form to help us improve our service.

Did this page help you to achieve your goal?

 Yes  No  Don't know

Please provide us with comments to improve this page:

How useful is the information?

 1  2  3  4  5
Not
useful
      Extremely
useful
 
Privacy Policy