Whats your strategy when you run into a road-block when coding? When I say road-block I mean the bug you cant fix, you've just discovered that your approach/design wont work because the drone you ordered only has Bluetooth and not WIFI so you need to rethink your whole approach, your call to GetWindowRect is returning illogical numbers that don't seem possible (right is 100 and left is 1000) and without fixing this you can't test that your task bar docking component works. I have about 3 hobby projects going a once and I tend to find when I encounter a road-block in one project about 50% of the time I move on to a different project for a while then come back and revisit it and 50% of the time I go full OCD and devote hours to fixing/solving this road-block (which sometimes is not the most time efficient), trying every little tweak to figure out if this fixes it and getting grumpy as shit with life.
Explain what actions you take from the technical to the mundane, ie, 'move on to another feature and revisit the problem with a fresh perspective (of time)' to 'get up and go make a coffee or shoot the shit with co-worker x'.
I'm interested to know if you say 'I'm not going to work on anything else till I solve this road-block and get it working' or 'I am going to start on a different feature/project and come back to this' or etc.