 | Debugging With the Phrasebook Classes
Both the classes Class::Phrasebook and Class::Phrasebook::SQL provide us with debugging services. One example is the environment variable:
|
PHRASEBOOK_SQL_DEBUG_PRINTS
|
If this variable holds the value "TEXT" then it will a print debug message each time the method get is called. Something along the lines of:
path = Oefeningen/logoklad.source [DBOrderedTreeUI.pm:322-->DBOrderedTreeUI::show_list > DBOrderedTreeUI. pm:4134-->Manual::fill_node_info_container_from_list > Manual.pm:2885-- >Document::load > /htdocs/html/projects/webiso/code/classes/Document.pm :403-->Revisions::load > /htdocs/html/projects/webiso/code/classes/Revi sions.pm:114-->Revision::load: ][GET_LAST_REVISION] select path, major, minor, date, user_id, state_id, md5, data_md5, is_patch, is_changed from revision where path = 'Oefeningen/logoklad.source' and is_patch = 0
|
|