A
Andrew Ducker
We were using Console.Writeline from within our app, to do some routine
debugging.
And then we started having random problems when the code was run by a
tester, on their own machine. We couldn't replicate these problems on
the developer machines.
And then we eventually worked out that on the dev machines Console
output was going to a window, and on the test machines it was
going....nowhere.
Does anyone know where Console.Writeline output goes when there's no
console? Is it being logged to a buffer that eventually overflows,
causing an exception later? Anyone? And if so, is there any way
around this than never, ever using Console.Writeline from a GUI app?
Cheers,
Andy D
debugging.
And then we started having random problems when the code was run by a
tester, on their own machine. We couldn't replicate these problems on
the developer machines.
And then we eventually worked out that on the dev machines Console
output was going to a window, and on the test machines it was
going....nowhere.
Does anyone know where Console.Writeline output goes when there's no
console? Is it being logged to a buffer that eventually overflows,
causing an exception later? Anyone? And if so, is there any way
around this than never, ever using Console.Writeline from a GUI app?
Cheers,
Andy D