pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Globalized debug module added

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
wgw



Joined: 06 Jan 2008
Posts: 262

PostPosted: Fri Feb 29, 2008 9:49 pm    Post subject: Globalized debug module added Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.2163s ][ Queries: 13 (0.1429s) ][ Debug on ]