Posted: Sat Mar 01, 2008 5:49 am Post subject: Globalized debug module added
I've added a new module called debug.py and moved the duplicate debug functions to it from the other modules. I also added the calling module name, line number, and function name to the debug.txt output. The names and line numbers should help with debuging. As before, debug is enabled by adding debug=true to pyTivo.conf. See my repository entry titled "global debug_write foundation" for detailed usage instructions for the new debug_write statement.
I've also added a line to echo the debug statements to the console to make it easier to view and follow the debug output while navigating the tivo. A function to display the contents of pyTivo.conf has also been added to aid in debuging. _________________ Download pyTivo my pyTivo branch
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum