-
|
I got my build to work and could run the debugger from Visual Studio, but when I set breakpoints in "...\Tubifarry\Tubifarry\Metadata\ScheduledTasks\SearchSniper\SearchSniperTask.cs" and then I run the debugger the breakpoints say "The breakpoint will not currently be hit. No symbols have been loaded for this document." I noticed that a folder had been created at "C:\ProgramData\Lidarr\plugins\TypNull\Tubifarry" with the Tubifarry DLL files (I've never loaded lidarr on this machine before). Presumably Lidarr is running the plugin from this folder and that's why I can't set breakpoints in the Tubifarry solution in Visual Studio? I did make the mistake of running Lidarr from the Lidarr Solution the first time instead of running it from the Tubifarry solution. I cleaned both solutions and built again but I still wasn't able to set breakpoints. Am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Yes, it’s possible, but the current version on GitHub isn’t configured for this yet. So far, I’ve only debugged using logs, as you’d still need to recompile the plugin when you change something. Hot reload likely won’t work. I plan to push an update this weekend to simplify the development environment and make contributing easier (except for the JSON DLL, which still needs to be copied to the output directory). I'll need to address any potential issues with the build pipeline if they arise. At the moment, I can’t provide instructions on how to make it work, as I need to update the contribution guide and test everything with a clean installation after the changes. In short: With the current setup (based on TrevTV plugins), it’s not possible yet. Please give me until tomorrow to finalize and update the develop branch. |
Beta Was this translation helpful? Give feedback.
I've pushed the changes. Breakpoints should be working now. Could you test it out on your site and confirm it's working?