Snap webcam photos whenever your app crashes
1–10 of 11 posts
Re: Snap webcam photos whenever your app crashes
#2This is awesome. What about a collective dev facepalms gallery?
It would be great to add a caption to the photo with an extract of the error message at the time. You could actually start a meme with that!
Re: Snap webcam photos whenever your app crashes
#3Somewhat related: lolcommits [1], which takes a webcam shot every time you commit.
Re: Snap webcam photos whenever your app crashes
#4Cool idea =) Had to add -w 1 to the arguments of imagesnap, otherwise my camera took black images.
Re: Snap webcam photos whenever your app crashes
#5Cool idea =) Had to add -w 1 to the arguments of imagesnap, otherwise my camera took black images.
Yes, this seems to be necessary for using Imagesnap with more recent Apple devices.
Re: Snap webcam photos whenever your app crashes
#6Re: Snap webcam photos whenever your app crashes
#7This is awesome. What about a collective dev facepalms gallery? It would be great to add a caption to the photo with an extract of the error message at the time. You could actually start a meme with that!
Hey, author here! I was actually thinking of continuing the article at some point by adding lolcommit-style error messages onto the pictures. I think it's a great idea!
Re: Snap webcam photos whenever your app crashes
#8For added effect, add a couple lines to set volume to max and play a loud high-pitch sine wave 400ms before image is snapped. The purpose of this is two-fold: hilarious portraits (albeit, at the cost of one's eardrums) and skinnerian conditioning resulting in improved code checking habits. Always analyze code before running it.
Re: Snap webcam photos whenever your app crashes
#9This is fun to do for when you are the only one using the app (ie, early testing). It looks like a privacy nightmare. You'll probably lose millions in lawsuits.
Still, I think I'll have fun with this :D
Re: Snap webcam photos whenever your app crashes
#10This is fun to do for when you are the only one using the app (ie, early testing). It looks like a privacy nightmare. You'll probably lose millions in lawsuits. Still, I think I'll have fun with this :D
No, it is not a function of the app, but a breakpoint action in XCode. It only works when you are debugging the app.