lespalt / iRon

MIT License
135 stars 20 forks source link

Randomly stopped updating overlays #2

Open talkiet opened 2 years ago

talkiet commented 2 years ago

Sorry I can't be more specific but it appears to hang occasionally for me and just stop updating. The hotkeys don't work (none of them) and I need to exit the main window and reload to restore functionality. This was in an official prac session with about 10 drivers in it. I was using all overlays except the Dashboard. Also had Simhub running. iRon ran for several minutes before it hung and it did this twice over about 30 minutes. Do you have any log files I could extract and send?

lespalt commented 2 years ago

This sounds like it might be two separate issues perhaps. The hotkeys are system-wide (so that iRon can listen to them even if iRacing is the foreground app). It's possible they conflict with other hotkeys in your system. Have you tried mapping them to something else? You can change that in the config file, and they can have more than one modifier, i.e. settings like "ctrl+shift+3" etc will work.

The hang sounds pretty weird, not sure off the top of my head what might cause that. If you have some experience with software development and don't mind digging a bit, an obvious place to start would be to create a debug build of the app and see if the hang repros with that. If it does, break into it with the debugger and check where it's stuck. If that's not an option for you, it's going to be trickier to track this down. We could start by taking a look at your system to see if anything stands out. You can use a tool like "System Information" (part of Windows) or dxdiag to dump you system info and attach it here. How exactly does the hang look when it happens? You still see the overlays, but they don't update any more? Or something else?