On Windows Phone “Step Over” exits from async meth

2019-07-10 00:33发布

问题:

While debugging Windows Phone 8.1 app on device, "Step Over" exits from async method when I step over async method call with await. This does not happen in Windows 8.1 or desktop apps but in Windows Phone apps.

Why does this happen?

回答1:

This problem was caused by disabled option Suppress JIT optimization on module load.

Explained in JIT Optimization and Debugging on MSDN