I manually caught mine at night as S13<3 recommended.
Others have had good luck with using double or triple-sized shot glasses placed near where you see them come in and out of. Just put some food in the glass, and the next morning you'll have a critter (hopefully, but not always, the right one)
Maybe the glass you used before was too wide so they could escape? Also, I'd use mysid shrimp, but that's me, and I doubt the crabs care, they just want food. Also, I guess do this after your fish go to sleep so they don't poach the food.