In this paper, we present a new result of continuity for the trace operator acting on functions that might jump on a prescribed ( n − 1)-dimensional set Γ, with the only hypothesis of being rectifiable and of finite measure. We also show an application of our result in relation to the variational model of elasticity with cracks, when the associated minimum problems are coupled with Dirichlet and Neumann boundary conditions.