In 1824, when Charles was 12, his father John Dickens was imprisoned for debt in the Marshalsea Prison in Southwark, London. The family (except Charles) joined him there — a common practice. Charles was lodged nearby in a back-attic room at Lant Street, Borough (also Southwark), and forced to work 10-hour days at Warren's Blacking Factory (Hungerford Stairs, Strand), labeling shoe polish bottles.
This trauma shaped his fiction: Marshalsea appears in Little Dorrit; the blacking factory informs David Copperfield and Great Expectations.