Unbendable Posted November 10, 2017 Report Share Posted November 10, 2017 Hey, so I am working on a university project and decided to use ugfx. First off: Great job! My suggestion: I am developing for the stm32f7 BUT building and testing first for Linux SDL to test the GUI. It would help if there is someway to debug log in development phase. I am just used to work with logs. I am currently trying to log to a file and simply write the output in there. Any thoughts ? Link to comment Share on other sites More sharing options...
inmarket Posted November 10, 2017 Report Share Posted November 10, 2017 If you are testing on Linux then simply add fprintf's to stderr. When you run your program redirect stderr to a file eg prog 2> file You can then use tail to see the contents of the file as it is executing. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted November 10, 2017 Report Share Posted November 10, 2017 Thank you for your feedback, we appreciate it a lot! I'm not really sure what you'd expect. Usually you need to debug your application, not the library you're using. So simply using fprintf() as suggested by @inmarket should get the job done. Link to comment Share on other sites More sharing options...
Unbendable Posted November 11, 2017 Author Report Share Posted November 11, 2017 Works like a charm! Thanks guys! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now