Advice on debugging possible exception or crash

Cecil Ward cecil at cecilward.com
Thu Jul 6 15:28:59 UTC 2023


On Thursday, 6 July 2023 at 07:09:11 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
>
> On 06/07/2023 7:07 PM, Cecil Ward wrote:
>> On Thursday, 6 July 2023 at 06:17:34 UTC, Richard (Rikki) 
>> Andrew Cattermole wrote:
>>> 2 Recommendations:
>>>
>>> 1. Attach a debugger
>>> 2. Make sure to flush stdout whenever you write
>> 
>> I assumed that buffering was to blame. How do I flush stdout?
>
> stdout.flush;
>
> https://dlang.org/phobos/std_stdio.html#.stdout

Many, many thanks once again.


More information about the Digitalmars-d-learn mailing list