I remember watching occasional reruns of Dobie Gillis. If I remember correctly, the show employed a framing device where Dobie would directly address the viewer at the beginning of each episode.
DC published a tie-in comic book based on the show.
While Maynard G. Krebs changed his name and became an incompetent sailor, later to become marooned on an island with six other castaways.
Here's a nice overview of his life and his career in TV and movies.
Variety doesn't mention the movie Rally 'Round the Flag, Boys! (1958). He and Tuesday Weld weren't the stars but had prominent roles. I didn't see the movie until a couple of years ago, but when the Dobie Gillis show started they worried that his TV character would be confused with his movie character of a different name. In a typical oveerreaction, in the first season of Dobie they changed his hair from brown to blonde. Tuesday Weld played his girlfriend early in the first season and Warren Beatty also had a role. I guess I started watching at 11 1/2, half-way through the first season because I didn't see the episodes with Tuesday as Thalia until recent years. Of course, Bob Denver, pre-Gilligan, was there for the whole run.
This trivia item (which I agree with) from IMDB that should be on interest:
The series served as one of the influences in the development of the Hanna-Barbera cartoon Scooby Doo, Where Are You! (1969). In it, the character of Fred Jones was based on Dobie Gillis; Velma Dinkley on Zelda Gilroy; Daphne Blake on Thalia Menninger; and Norville "Shaggy" Rogers on Maynard G. Krebs.
I didn't see Philip's post before I posted about Scooby Doo.
As doc photo points out, Dwayne as Dobie would address the audience before and after the actual episode. Was this breaking the fourth wall? He was in-character, but it wasn't actually during the story.