As a lighthearted suggestion: have you tried purchasing a whiteboard and practicing writing code on it?
The whiteboard itself isn't really the problem[1]. It's the "writing code in front of people who are judging my performance" part.
[1] Although I do prefer chalk boards. :-) What can I say? I was a math major. ;)