One easy step to writing better bug reports
As someone who uses a lot of different software and tends to find a lot of 'edge cases' I often find myself emailing software developers or filling out support tickets to either ask a question or report a problem. I know it would be helpful to include information about my Mac (both the hardware and the operating system) as well as precise information about the version of the software that I'm using.
But, to be honest, I'm often too lazy to include it.
Instead I tell them that I'm using the "latest version" of Mac OS X and the "latest version" of their software. But am I? Not too long ago I realized I was running 10.8.2 on a Mac that I thought was up to date. Or what if the developer comes across my email again in a month and can't remember what version was current then? They might think "Oh, well I think I fixed that since then" but if they have the exact version number for their app, they could find out much more easily.
Which is so say: sometimes developers can be lazy too.
So I came up with an easy way to include the information without requiring much work.
How it looks
With my script or Keyboard Maestro macro, I can automatically grab the version information for a specific app, as well as relevant information about my hardware and operating system.
Here's an example of what the output would look like:
(Note: I'm just using Fantastical as an example of an app, not suggesting that it's buggy. In fact, I don't think I've ever run into a bug with it. If that doesn't show up properly for you, checkout this direct link instead.)
How it works
bugreporthelper.sh is a shell script that you can use in Terminal. Just type
bugreporthelper.shand it will ask you if you need information about a specific app. If you say yes, it will include version information about the app. Either way it will output relevant information about your hardware and operating system.
Bug-Report-Helper.kmmacros is a Keyboard Maestro macro which will do the same thing without requiring that you be in Terminal. It will prompt you for the name of the App (or PreferencePane) and look for version information. It will also insert your relevant hardware and operating system information.
bugreporthelper.sh - install anywhere in your $PATH and make executable (
chmod 755 bugreporthelper.sh)
Bug-Report-Helper.kmmacros - import into Keyboard Maestro (be sure to customize the keyboard shortcut and any other trigger you might want to add.)
- The Keyboard Maestro macro tries to determine whether or not it can 'paste' the output of the command into the current application.
- If it can, it will do so and then restore your previous clipboard (whatever was on there before this script ran).
- If it can't, it will display a notification alerting you that it couldn't paste it, and keep the info on the pasteboard for you to manually paste wherever you want it.
- The method for determining whether or not it can paste depends on a menu item 'Paste' being enabled. Which is to say that it is not foolproof. Let me know if it behaves particularly badly in a particular app.
bugreporthelper.sh will ask whether or not you want the information added to the clipboard. It will also save the information in a temp file (either in $TMPDIR or /tmp).
Subscribe to Newsletter
Software Updatesmore updates
- YouTube for iOS gets updated with full support for iPhone 6 and 6 Plus
- iOS 8.0.1 update now available (Updated -- Don't update!)
- NFL Mobile updated for 2014 Season with new Fantasy Football features, NFL Now integration
- Yahoo Mail improves email inbox searching with new filtering options
- Ember for Mac gains 'hugely-requested' screen recording feature
- Spotify update adds equalizer, refreshed Artist page and more