The description likely refers to Dennis the Menace (1959–1963), an animated series produced by Hanna-Barbera based on Hank Ketcham's comic strip. The show follows mischievous Dennis Mitchell, his parents Henry and Alice, and their pets—dog Ruff (a mixed breed, not a St. Bernard) and cat Chaos. Dennis is known for his pranks and knack for causing chaos in the fictional town of Mayfield.
Note: No major classic cartoon features a boy with a St. Bernard as a central duo. The live-action Beethoven films (1990s) center on a St. Bernard, but not with a boy as the sole protagonist.