Anyone know how to use PrintDebug in my PosSizer or external DLL? I want to print something in the "Debug and Error message" box.
Size:
Color:
Size:
Color:
I tried the following method, but seems it is not working. I cannot found the debug message from either Output window of SharpDevelop or Debug/Error window of Wealth-lab. Did I miss any configuration?
QUOTE:
do the following:
1. Hit Ctrl-W, O to open the Output window (VS 2008 shortcut).
2. Call Trace.WriteLine in your PosSizer:
System.Diagnostics.Trace.WriteLine( whatever_you_wanted_to_send_to_PrintDebug );
Size:
Color:
I miss the point of looking for output in the Debug window of Wealth-Lab, after reading the FAQ that says it's not possible.
Nonetheless, the "method" is 100% working in Visual Studio regardless of what may seem - it's a standard debugging feature.
Size:
Color:
One thing I can think of is that you inadvertently changed the output to display Build message while running a Debug build. Double check that dropdown list in the Output box.
Size:
Color:
Size:
Color:
Don't try this in a loop :)
Size:
Color:
Most true!
But you can always update a string every loop and print it out in the end....
I never said it was pretty :)
Size:
Color: