We live on an acreage. When mom and dad bought the house, they could not decide if they wanted to fence the yard.
Dad wanted to put in an underground fence (invisible fence). Even with training, some dogs that may be determined to chase a rabbit or animal will run through the boundary, shock or not. And after the shock, the owner has to hope that they can find the dog or the dog returns.
The first Sunday that mom looked out the basement door, she saw the neighbor’s big dog looking in at her. She didn’t think it was good that animals could come into the yard and bother us so she decided a real fence was the best solution.
This is a good article that discusses fence options and solutions for situations such as digging or fence jumping.