Changes between Version 20 and Version 21 of TracDev/PluginDevelopment
- Timestamp:
- Jul 3, 2007, 12:13:04 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/PluginDevelopment
v20 v21 54 54 }}} 55 55 56 Look at the API documentation for the extension point interfaces to see what you're expected to return. 56 Look at the API documentation for the extension point interfaces to see what you're expected to return. See the [http://trac-hacks.org/wiki/tutorial tutorial] page for more plugin tutorials. 57 57 58 58 == Component member variables == … … 142 142 }}} 143 143 144 == Debugging == 145 The logging API is very good debugging tool. Simple use this code when you want to view value of a variable: 146 147 {{{ 148 env.log.info(varname) or self.env.log.info(varname) 149 }}} 150 151 You need to turn on logging in the trac.ini file. Info level log is not as often as debug level. Thus it is very good way to debug the plug-in code. However, you should use debug method if you want to leave the code when you finish developing the plug-in. 152 144 153 ---- 145 154 See also: TracDev, TracDev/ComponentArchitecture, TracPlugins