Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Logf enabled build for h300
« previous next »
  • Print
Pages: [1]

Author Topic: Logf enabled build for h300  (Read 1106 times)

Offline Coyote

  • Member
  • *
  • Posts: 7
Logf enabled build for h300
« on: April 14, 2010, 06:52:01 AM »
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
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Logf enabled build for h300
« Reply #1 on: April 14, 2010, 09:42:54 AM »
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.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Coyote

  • Member
  • *
  • Posts: 7
Re: Logf enabled build for h300
« Reply #2 on: April 14, 2010, 05:17:01 PM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Logf enabled build for h300
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.