As example let's consider very simple task: the solution of one-dimensional stationary Schrodinger equation with step-function potential: $V(x) = 0$ if $x0$ (see this, for example, https://en.wikipedia.org/wiki/Solution_of_Schr%C3%B6dinger_equation_for_a_step_potential ).
The method of solving is very clear. We have to find solutions for $x0$ independently and after that apply the continuety for wave-function and it's first derivative in the point $x=0$.
My interest is this point $x=0$. The value of potential in this point is undefined (could vary from 0 to $V_0$). This means that Schrodinger equation is undefined in this point, so we cannot find the second derivative of the wave function, and wave function itself. Is it correct logic? Do you have some sources for the explanation of such type problems?