[Issue 6880] Heisenbug: deferred crash when writing to stdout on Windows without console.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 2 14:40:36 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6880


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-11-02 14:40:04 PDT ---
It would help if you provided a stack trace. You can write a WinMain which
displays uncaught exceptions in a message box:
http://www.digitalmars.com/d/2.0/windows.html

You may find this helpful:

if (!GetConsoleWindow()) {
    stdout.open("stdout.log", "w");
    stderr.open("stderr.log", "w");
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list