decug record size assertion fail

The debug record size assertion is at the wrong position.