![]() |
Important Dummies Guide to Advanced Debugging - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Important Dummies Guide to Advanced Debugging (/showthread.php?tid=323719) |
Dummies Guide to Advanced Debugging - Karellen - 2017-11-07 How to create advancedsettings.xml Debug Log This is an advanced method primarily used when KODI crashes during startup and prevents you from enabling Debug mode in Settings>System Settings>Logging. If this is not your situation then you will find it easier to follow the instructions in the next post of this thread. 1. Why do I need to do this You have asked for assistance on the Kodi Forum, most likely because you are unable to start Kodi. This is a guide to set Debugging to ON by either modifying or creating a file named advancedsettings.xml This guide is applicable to Kodi installations being run under Microsoft Windows. 2. Where do I find advancedsettings.xml If you downloaded Kodi from this site and manually ran the installer, you will find it here... C:\Users\Your User Name\AppData\Roaming\Kodi\userdata If you downloaded Kodi from the Microsoft Store, you will find it here... C:\Users\Your User Name\AppData\Local\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\userdata 3. Once you have located the file, perform the following...
4. Wait, I can't find the file Ok, you will need to create the advancedsettings.xml file by following these simple steps.
5. Now What? Try starting Kodi. It should still fail to start. Hopefully, though, it has recorded why it has failed to start in a file named Kodi.log. Once you upload the results, a helpful member of the community may be able to assist you. 6. Upload the results The log file is named kodi.log and it is located in the Kodi directory described in Section 2 above. It is one level above the \userdata directory in which you modified the advancedsettings.xml file You must locate this log file and copy it's contents to a pastebin type site as follows:
7. What now? Hopefully a helpful community member or Kodi team-member will review your log file and provide suggestions to rectify the problem. RE: Dummies Guide to Advanced Debugging - Karellen - 2017-11-07 How to create a Debug Log- The Basic/Easy Way This is the easy/basic method primarily used when KODI is functional or functional enough to follow the below steps before experiencing any crashing.
Note: If you logs are rejected for being too large then use... https://paste.ubuntu.com/ Note: Be aware of the difference between Kodi.log and Kodi.old.log. See the next post. If you are Uploading using method 4a, the following are further instructions on locating your log file and how to upload it to a pastebin site... The log file is named kodi.log. Its location varies depending upon your operating system. Find the correct location here... Log_file/Advanced#Location (wiki). You must locate this log file and copy it's contents to a public pastebin type site as follows:
Note: Full logs only. No partial or redacted logs RE: Dummies Guide to Advanced Debugging - Karellen - 2018-12-28 kodi.log -v- kodi.old.log The Debug Logs are Session Logs. The logs are written from Kodi startup to Kodi shutdown (or crash). The next time you start Kodi, the kodi.log is cleared, and a new kodi.log is created. The kodi.log that was there is renamed to kodi.old.log and the existing kodi.old.log is deleted. In effect you only ever have two logs available- the current one, and the previous one. Be aware which log you are uploading. If you replicated the problem...
Note for Kodi Logfile Uploader (wiki) users: The ability to upload the kodi.old.log file is disabled by default in the add-on. From the settings page of the add-on, enable this function. Once enabled, the kodi.log file will be uploaded first, you will then be asked if you want to upload kodi.old.log. Answer yes and take note of the address. RE: Dummies Guide to Advanced Debugging - Karellen - 2019-03-28 Using a Paste Service If you are unfamiliar with using a paste service, the image below describes how to use Kodi Paste Site. Other paste services work in a similar manner, but their layout will be different. ![]() RE: Dummies Guide to Advanced Debugging - Karellen - 2019-03-28 Reserved2 |