Hello all,
I'm testing LOVE for my project, but I faced a very basic restriction: I cannot use the most basic lua debugging tool ( print (x) ).
I think LOVE handles the standard output, so I cannot debug my code and no log file generated.
If someone how how could I debug my lua code in LOVE, please let me know.
A second question is how to generate to .love file. I didn't find on the documentation.
Thanks in advance.
basic debug
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: basic debug
Hello.
On Linux, LOVE should not touch the stdout, and print() should display text on the command line. (Version 0.3.0+)
On Windows, we used the stdout redirection option when building SDL, and a file called "stdout.txt" will be created next to the running love.exe. The output of print() should appear in this file. (Version 0.3.1 ONLY)
The .love file is just a renamed .zip file. (Will review documentation)
Hope this helps! 8-)
On Linux, LOVE should not touch the stdout, and print() should display text on the command line. (Version 0.3.0+)
On Windows, we used the stdout redirection option when building SDL, and a file called "stdout.txt" will be created next to the running love.exe. The output of print() should appear in this file. (Version 0.3.1 ONLY)
The .love file is just a renamed .zip file. (Will review documentation)
Hope this helps! 8-)
Re: basic debug
Thanks. It was helpful.
Who is online
Users browsing this forum: No registered users and 3 guests