Skip to content

debug.getLoadableLibs() example#

Put the configuration onto a key, press it and watch the logs. If you're not familiar with provisioning yet: download a backup from your phone's web-UI and replace an existing key-configuration with this xml. Then simply restore the backup.

getLoadables.xml
<keyConfiguration>
    <lua><code><![CDATA[
        local stringx = require "pl.stringx"
        function onKeyUp()
            debug.log("----------", "e")
            debug.log(stringx.join(", ", debug.getLoadableLibs()), "e")
            debug.log("----------", "e")
        end
    ]]></code></lua>
</keyConfiguration>