System output and exceptions
System output and exceptions
Hello,
Is it possible to catch System.outs and/or exceptions printed or thrown from a decendent of LuxAgent?
Best regards,
/Cha
Is it possible to catch System.outs and/or exceptions printed or thrown from a decendent of LuxAgent?
Best regards,
/Cha
Here is what I do for debugging in Windows. Create an application icon that starts Lux with this command: "C:\WINDOWS\system32\java.exe -jar LuxCore.jar". Also set the start directory to "C:\Program Files\Lux".
When you start Lux this way, all stdout and stderr output will go to the text window in real time. I even use stdin input to pause the game at will.
When you start Lux this way, all stdout and stderr output will go to the text window in real time. I even use stdin input to pause the game at will.
-
- Lux Newbie
- Posts: 4
- Joined: Tue Oct 13, 2009 6:09 pm
- Location: Austin
The log file is quite sparse in terms of reporting gameplay events. All it reports currently is "playerinfo.cardsWereCashed()" without indication of who cashed them, and it also reports when players are eliminated.dustin wrote:On MacOSX you can open the Console.app to get a live read-out of the output. On other systems if you start Lux from a command line then you will get a live read out. And the log file is always there (of the last run of Lux).
I've looked around to try to expand upon the log output, but I can't find out where it's getting created. Any help would be greatly appreciated.
Who is online
Users browsing this forum: No registered users and 90 guests