Edit: $\delta$ is the Dirac distribution and $\Theta$ is the unit step function.
In my theoretical physics studies I came across the following identity, that is supposed to be valid for all $t \in \mathbb{R}$
\begin{equation} \int \limits_{-\infty}^t \exp(t'-t) \delta(t - t') \mathrm{d}t'= \frac{1}{2} \end{equation}
which I could (contextually) make sense of as something I had been taught in the first semester
\begin{equation} \int \limits_{-\infty}^{\infty} \Theta(t'-t) \delta(t - t') \mathrm{d}t'= \frac{1}{2} \end{equation}
which is seriously riddled with inconsistency issues.
This sounds just like normal theoretical physics reasoning to me, but is there a way to formalize it?
Can we see the Dirac distribution as an element of a dual space of discontinuous functions in a proper sense? - I suspect not.
Or is it perhaps possible to introduce a kind of measure space where the Dirac measure can be seen to average at jump discontinuities? - I believe this should be possible in one dimension, but I am not sure.