Rockbox Development > Starting Development and Compiling
Logf enabled build for h300
(1/1)
Coyote:
Hi,
I tried to make build for my h300 with logf enabled, but I must have made something wrong.
The debug options (show & dump) appear in the debug menu but none of them seem to work.
Show doesn't show anything, & dump doesn't dump anything to the disk (not even an empty file).
Did I missed something ?
I trying to further debug what I reported in FS#11139.
TIA
torne:
By default, nothing actually logs any logf messages, so no, there will be nothing in the log.
You need to add #define LOGF_ENABLE to the top of whichever file you want logf messages from, otherwise all logf() macros expand to nothing at all in that file.
Coyote:
Thanks for the info.
I must be missing something else because I made a few builds activating the logf in different files each time and all of them froze the player on bootup (when the rockbox log is displayed).
I waited for more than a minute on that screen before reseting it.
Just to be sure, I made a normal build and it started flawlessly.
TIA.
Navigation
[0] Message Index
Go to full version