Would love this as well, especially for bugs like this:
It seems like Microsoft has a cross platform solution to create a custom malloc: