Hi all. I'm working on a threaded plugin for a personal pet project of mine. I've encountered a very specific situation where Rainmeter is crashing. I'm 99% sure it's being caused by the threading and me forgetting to make something thread-safe, but am simply stumped on how to go about figuring out what I missed.
RM crashes in this situation:
An active skin is using the plugin
I have the About window open to the Skins tab
I'm viewing the variables/measures for the skin using the plugin
I refresh the skin
Any help is appreciated. I can post my code if necessary.
I would love to help, but its really hard to tell anything from your post. What language are you currently using, and what approach did you take implementing the threading?
I was actually able to solve my problem. It was basically my lack of familiarity with debugging DLLs in Visual Studio. I kept trying to attach to an existing process but that wouldn't work when Rainmeter crashed. I ended up changing the Start Action in the project debug panel to start Rainmeter. At that point breakpoints and debugging worked correctly and I was able to figure out where I'd gone wrong.