HawkXP71 113 Posted 18 hours ago Posted 18 hours ago This is a general help question for how to debug plugins. I am enhancing the statistics plugin, mainly as a learning experience (I am adding the Dolby Vision profile so I can easily find those with DV10 that cause problems for some of my users) Im running on my local machine with minimal media, so it can run quickly. Setup: Windows 11 Visual Studio 2026 Emby: 4.9.5.0 On the server I have debug logging enabled My general flow: Build the dll Stop the server copy the dll to the plugins directory Sometimes I delete the configuration file, but doing so does not change start the server This also launches chrome to the servers page I confirm in the log that the plugin is getting loaded Got to the scheduled tasks, run the statistics task to generate the necessary information Go to the statistics configuration page, but the page is out of date. The data does update, but the HTML itself is out of date. I click refresh, and I click "force refresh ctrl-f5", I have run in incognito mode. Any thoughts would be appreciated. Is there a whitepaper on debugging plugins? Or developing plugins? Any help would be most appreciated. TIA Scott
pünktchen 1420 Posted 12 hours ago Posted 12 hours ago In Chrome or Edge open the Developer Tools and do a hard refresh of the cache by right clicking on the normal reload button in the browser. 1
Solution HawkXP71 113 Posted 11 hours ago Author Solution Posted 11 hours ago Thanks I'll give it a try.
Luke 42778 Posted 1 hour ago Posted 1 hour ago HI, make sure to increment the version number, otherwise it will require workarounds like mentioned above to force a refresh.
HawkXP71 113 Posted 59 minutes ago Author Posted 59 minutes ago 10 hours ago, HawkXP71 said: Thanks I'll give it a try. 11 hours ago, pünktchen said: In Chrome or Edge open the Developer Tools and do a hard refresh of the cache by right clicking on the normal reload button in the browser. 1 minute ago, Luke said: HI, make sure to increment the version number, otherwise it will require workarounds like mentioned above to force a refresh. Thanks to all! The forced refresh with cache delete combined with a change of the version did the trick. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now