|
|||||||
1. Introduction
2. Installing Karrigell 3. The Web server 4. Working with Apache or Xitami 5. Programming 6. Debugging 6.1 Debug mode 6.2 Error handling and debugging 7. Python scripts 8. Karrigell Services 9. Python Inside HTML 10. HTML Inside Python 11. HTMLTags - generate HTML in Python 12. Including documents 13. Sessions 14. Authentication 15. Internationalization |
6. Debugging6.1 Debug modeWhen you are testing new versions of a program, there is often the case when you change a module which is imported by your scripts. For performance reasons, the standard Python interpreter uses the compiled versions of the modules which have been imported, and does not check if the source has been modifiedYou can set the debug option in the configuration file to 1, to force the reloading of the modules whose source code has been modified since they were last used Once the program works, you can set the debug mode to 0 6.2 Error handling and debuggingIf an error happens when calling an URL, a trace is displayed in the browser The information provided consists of :
Snapshot :
|