I tripped over the wire when modifying the source code of a computer program because the unusual code that I straightened out was intentionally put in place.
Seeing the tripwire of a nearby bouncing Betty gave us cold chills, and we moved all the more slowly through the woods.