vTaskDelay causes proteus simulation to crash

It might just be your debugger issue. Make sure that you are compiling your code with all the optimizations disabled and maximum debug info - check the documentation for your toolchain to find out how to do that. Alternatively, use some other method, such as toggling an LED or increasing a counter, to confirm if a code branch is executing.