Debug Logging from home menu

Discussion and development of skins for XBMC4XBOX
Post Reply
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Debug Logging from home menu

Post by byron »

I know many noobs don't quite grasp the concept of posting a proper debug log, but maybe for whatever reason they don't know how to turn it on. I personally just got tired of navigating to (SystemSettings) everytime I needed it, so I decided to throw this together really quick because I don't feel like doing it ever again :)

So mainline has:

Code: Select all

<onclick>ToggleDebug</onclick>
and I was too lazy to find out if we did or didn't so I wrote this which does the same thing basically:

Code: Select all

<item id="5">
	<description>Debugging Toggle</description>
	<label>14092</label>
	<onclick>ActivateWindow(SystemSettings)</onclick>
	<onclick>Action(Down)</onclick>
	<onclick>Action(Down)</onclick>
	<onclick>Action(Down)</onclick>
	<onclick>Action(Down)</onclick>
	<onclick>Action(Right)</onclick>
	<onclick>Action(Select)</onclick>
	<onclick>Action(Back)</onclick>
</item>
This is a universal version of what I wrote --- I left out other nuances pertaining to skin specific needs --- but I thought I'd share in case someone wanted to add an item or a button to do this from Home.xml with whatever skin they're using or working on. It's nice to just be able to turn it on and off without having to go through the mundane of navigating to it to turn it on, and then doing it again to turn it off every flipping time you need it. All in all, it could very well help produce better help for lazy people like me ;)
User avatar
BuZz
Site Admin
Posts: 1890
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 65 times
Been thanked: 422 times
Contact:

Re: Debug Logging from home menu

Post by BuZz »

Nice workaround :)

ToggleDebug should be an easy one to add though - if you open a ticket i'll merge that in before the 3.5 final :)
User avatar
byron
Posts: 582
Joined: Wed Jul 04, 2012 9:26 pm
Location: Illinois
Has thanked: 27 times
Been thanked: 96 times

Re: Debug Logging from home menu

Post by byron »

All that work for nothin :P Yea I'll open a ticket...
Post Reply