If your function has a discontinuity then it cannot be differentiable at that point. Intuitively, your derivative gives you the rate of change of the line tangent to the function at a given point. If your function is discontinuous, then a tanget line will not exist. To put it differently, differentiability is a sufficient condition for continuity, or rather, if your derivative exists at all points, then your function is continuous.
Please take time to soak this in though because it does NOT work the other way around. There exists many functions that are continuous but not differentiable at certain points.
For example let's say...
The graph of this function has a cusp at

, which means you can draw multiple tangents lines to this function at that point. Its derivative is...
And this function is undefined at

as it should be.
As for your function

, it is still undefined at

so it is not differentiable at that point. If you cancel the

out, then you get an entirely different function, which is now continuous at that point.