Stochastic approximation with discontinuous dynamics and state dependent noise: w.p. 1 and weak convergence☆