How do I read the debug logs?

Discuss the future of Warzone 2100 with us.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

How do I read the debug logs?

Post by Zarel »

Using Windows/MinGW. I see references to a debug() function all over the code, but I can't find where the output goes. How do I view the output?
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: How do I read the debug logs?

Post by jaakan »

Zarel wrote:Using Windows/MinGW. I see references to a debug() function all over the code, but I can't find where the output goes. How do I view the output?
Do you mean this?
warzone2100.exe --debug=all --debugfile=c:\temp\wz2100.txt

http://wiki.wz2100.net/Command_Line_Options
http://wiki.wz2100.net/Windows_Compile_Guide_(MinGW)
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: How do I read the debug logs?

Post by Zarel »

jaakan wrote:
Zarel wrote:Using Windows/MinGW. I see references to a debug() function all over the code, but I can't find where the output goes. How do I view the output?
Do you mean this?
warzone2100.exe --debug=all --debugfile=c:\temp\wz2100.txt

http://wiki.wz2100.net/Command_Line_Options
http://wiki.wz2100.net/Windows_Compile_Guide_(MinGW)
Thanks, that worked. I knew I should've checked the wiki.