![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Temporarily disable a hook - best way?
Hello all,
What's the approach you guys usually take when temporarily disabling hook for debugging purposes? I want to step through my code, and having some hooks enabled (along with forked threads) makes this an annoying process. |
#2
|
||||
|
||||
I don't think you can disable a hook. You can put in some dummy code that just returns and does nothing.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#3
|
|||
|
|||
I just add an If false
Then place my code under that so it won't be called. k |
#4
|
|||
|
|||
+1 - thats essentially how i comment out any code that i dont want to run
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#5
|
|||
|
|||
Thanks guys appreciate it.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
temporarily disable tuners for testing? | sflamm | SageTV Software | 1 | 12-31-2012 12:51 PM |
Temporarily disable a favorite | element33 | SageTV Software | 12 | 04-07-2011 04:04 AM |
How do you temporarily disable Jetty apps? | wayner | SageTV Customizations | 1 | 04-12-2010 06:39 PM |
Temporarily Disable Source | jonnydeath | SageTV Software | 4 | 01-01-2010 07:56 PM |
Temporarily disable tuner | Jackal24 | SageTV Software | 3 | 01-10-2007 10:59 AM |