You are right, there is also an option to "Pause when program
finishes".
I never saw it until now. Thank you for all the replies.
On Friday, 9 March 2012 at 13:39:02 UTC, Dmitry Olshansky wrote:
On 09.03.2012 11:42, Chris Pons wrote:
I am new to D and have been playing around with Assert. I
figured that
using a message with assert would be very helpful, but
unfortunately
when the message is printed to the console, the console closes
and my
program ends.
Is there any way to get a more permanent message?
I've tried adding system("PAUSE") and it doesn't have any
effect.
Is there any way I could have the assert function print the
message to a
file?
I'm using VS2010 and Visual D if that is of any importance.
There is an option to redirect all console output to "Output"
window. Right on the same window where you can choose a
debugger (mago/visual studio) IRC.