Kodi Community Forum
./configure --disable-debug still builds debug - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: ./configure --disable-debug still builds debug (/showthread.php?tid=27613)



./configure --disable-debug still builds debug - Skindred - 2007-07-27

As the title says, when I use './configure --disable-debug' and then use make, it still gives me a build with the debug message (free mem etc) on the left corner of the screen.

The executable is on 9.3MB now, but during playback, it still stutters (which I think comes due to constant probing after free mem details and such, and then updating that to the screen).

Is there a way to turn of debug info in the settings?


- jmarshall - 2007-07-28

Doubt it - probing freemem will take bugger all time, and writing to screen even less.

I think the linux branch has it hardcoded (in Application.cpp) - if so, I'll make it so that it defaults to debug (as we're in development mode) but can be overridden via advancedsettings.xml

In either case, in the meantime search for g_advancedSettings.m_logLevel and change the instance of it in Application.cpp where it's being set.

Hmm, actually, if _DEBUG is set, then that instance isn't needed - will chat with yuvalt/d4rk/vulkanr et. al. about it later.

Cheers,
Jonathan