I manually paused an app by clicking the pause button in the debugger toolbar (this is windows).
Then, I tried inputting:
> new DateTime (DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day)
Got the following result:
> The expression can't be evaluated while the application is running.
I'd have expected the expression to be evaluated.
Problem here is that none of threads has stack frame which could be used for performing evaluation... And wrong message here: https://github.com/mono/monodevelop/blob/fbbcf655c40d0e3157771dc137887b1b70d793bf/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ImmediatePad.cs#L64
I will try to come up with some better solution then just better message.