|
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
|
|||
|
|||
Loading Console Window
In the middle of writing a loadable class and hitting a bit of a bug (in my code) and really need the console window so I can println() some variables to see what's going on. I added the 'consolewin' dword value to the registry and set it to one, stopped and restarted the SageTV service, but I don't see a console window.
I'm still using the trial version of Sage6, is this what's preventing me from seeing the console window by any chance? Thought I'd ask before replacing all my System.out.println() calls with file I/O calls to see my vars. |
#2
|
||||
|
||||
The Service cannot create a console window.... If your class really needs to be in the server, run Sage in non-service mode.
Otherwise put it in the client...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#3
|
||||
|
||||
I agree with Niel. Don't run untested code in your service. Debug it in a client first (or if you have no client licenses, in a pseudo-client running on your server).
Alternatively, enable SageTV's native debug logging in your service and consult the log files it produces. No need to create a separate log file for your code (unless you want to). Or if you want to monitor your running service in real time, send your println() output to a Writer that wraps the OutputStream of a Telnet socket.
__________________
-- Greg |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV: SageMC 16x9 Version 6.x (latest dev build) | dflachbart | SageMC Custom Interface | 6112 | 04-04-2008 11:16 PM |
Sage Bug | justindd | SageTV Linux | 5 | 01-30-2007 10:12 AM |
How to disable the popup window in the program guide? How to keep the program guide? | metropole | SageTV Software | 8 | 05-18-2006 06:25 PM |
Extra SageTV Window with Server Turned On | rsagetv99 | SageTV Beta Test Software | 4 | 04-05-2006 12:50 PM |
Recorded shows automatically deleted? | cfcrafting | SageTV Software | 16 | 02-02-2006 01:12 PM |