Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Request for debug change
#1
I would like to see some manner of starting a debug at a specific point rather than having to wade through reams of debug that usually isn't relevant.

For example:  I want to see what KODI is doing when I do a refresh on a movie title, as the scraper doesn't always get the right movie.  It's relatively quick on the server and slower than cold snot on a remote.  I want to see what's going on and what is taking the extra time but don't want to see everything prior.
Reply
#2
Turn on debugging, refresh movie, turn off debugging is the best you're going to get because we need to see all that 'prior stuff' to help understand what system people are using, etc.
Reply
#3
You could even use a keymap (wiki) with the ToggleDebug application built-in action to temporarily assign the switching on/off to a suitable key on your remote to simplify it even more.

Install the keymap, do your tests and then remove the map again to restore the remote key back to its original usage.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
(2021-09-22, 09:48)DarrenHill Wrote: You could even use a keymap (wiki) with the ToggleDebug application built-in action to temporarily assign the switching on/off to a suitable key on your remote to simplify it even more.

Install the keymap, do your tests and then remove the map again to restore the remote key back to its original usage.

I was thinking along those lines with either a magic key combination (for keyboarded systems) and I don't know what for mobile devices (phones/tablets) that don't have an actual keyboard.

In your scenario: I am assuming the keymap function you mention could do a 'click' to set the debug on but how would I access the debug function without getting back to MAIN/SETTINGS/SYSTEM? 

Thanks for your help.
Reply
#5
As the name say it's a toggle command so for example

<F9>ToggleDebug()</F9>

Pressing F9 on keyboard will turn debbuging on, pressing F9 again turns it off. Then you can use the Kodi File Manager to find log in special://xbmc then use context menu to select View as text to read the log.

Image
Reply
#6
(2021-09-22, 20:01)jjd-uk Wrote: As the name say it's a toggle command so for example

<F9>ToggleDebug()</F9>

Pressing F9 on keyboard will turn debbuging on, pressing F9 again turns it off. Then you can use the Kodi File Manager to find log in special://xbmc then use context menu to select View as text to read the log.

Image

I see what you are saying now, thanks.  I'll give it a try.
Reply
#7
Debug mode can be enabled from a keyboard using ctrl-shft-d.

It is a default mapping.

I am not sure if other systems use f9, but on my windows installs, that is volume down.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#8
(2021-09-23, 03:52)Karellen Wrote: Debug mode can be enabled from a keyboard using ctrl-shft-d.

It is a default mapping.

I am not sure if other systems use f9, but on my windows installs, that is volume down.

Thanks.  That works a treat.  I checked if F9 was free and it did pop up a volume symbol so I was considering other options when I saw your post.
Reply
#9
Keyboard controls (wiki) gives a full list, for reference.

As standard Kodi uses + (and also =) for volume up and - for volume down. F9 doesn't seem to be mapped to anything, but of course there maybe Windows or keyboard driver settings/hardware adding that.

Given the ability to remap and Kodi's general flexibility, there are many ways to crack this nut... Smile
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
Request for debug change0