Tips to repro bugs on Android

• If you know where it happenend, try to use an environment as similar as possible. Device, Network, Appversion, etc. For fedi apps, same instance, same post, etc.
• Try with spotty network and offline
• Try after a cold start, and after bringing the app to the foreground.
• Turn on the developer option "don't keep activities". This helps simulate the system memory killing old activities and can expose very weird behavior.
• Rotate the screen

Tips to repro bugs on Android

• click fast
• or super slow
• Not all bugs happen in debug versions. Code shrinking etc should not but can alter the behavior.
• To repro race conditions I often manipulate the code to make stuff take exactly as long as necessary for the race to occur
• For visual glitches, turn animation speed down in developer settings. You will see exactly what is happening.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://chaos.social/users/ConnyDuck/statuses/114376542203573611 on your instance and quote it. (Note that quoting is not supported in Mastodon.)