If the game is frozen with /tick freeze, pressing F3+L will immediately start filling the game output with
Tried to pop one too many times! Mismatched push() and pop()?
until profiling finishes.
When it finishes there is a NullPointerException and it says the results cannot be saved.
Seems to be fixed in 24w33a.