Hello, Sue.
Well, both are correct, but they've got different meanings. If you say "Someone has broken that window" it means that the action is over already and you don't exactly know when it happened. And when you say "Someone has been breaking that window" it means that somebody started to break the window some time ago and is still breaking it up to the present moment.
I hope it helps you!