Not sure if related to OP's issue, but quite often on Windows I
get mystery crashes with no stack trace, so I typically use
WinDbg Preview (modern version of WinDbg) to locate the problem.
Seems to work every time.
On 27/11/2019 06:55, cartland wrote:
> On Wednesday, 27 November 2019 at 05:43:33 UTC, Mike Parker wrote:
>> On Wednesday, 27 November 2019 at 05:15:10 UTC, cartland wrote:
>> *snip*
>>
>> dmd -m32mscoff -debug -g x.d
>>
>> And see what happens.
>
> No difference between "dmd -m32mscoff -debug
On Wednesday, 27 November 2019 at 05:43:33 UTC, Mike Parker wrote:
On Wednesday, 27 November 2019 at 05:15:10 UTC, cartland wrote:
*snip*
dmd -m32mscoff -debug -g x.d
And see what happens.
No difference between "dmd -m32mscoff -debug -g x.d" and "dmd
-m32mscoff x.d"
C:\tmp\x>dmd
On Wednesday, 27 November 2019 at 05:15:10 UTC, cartland wrote:
No MS installed. Just using DMD.
-
dub -a x86_mscoff --force -v
:
So please try it without dub
dmd -m32mscoff x.d
If that works, add some debug flags like dub does:
dmd -m32mscoff -debug -g x.d
And see what happens.
This works (once I installed Microsoft Visual C++ 2010 x64
Redistributable) :
dub --force -v
Seems the issue is with "x86_mscoff"
--
:
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for
x86_64.
x ~master: building configuration "application"...
On Wednesday, 27 November 2019 at 04:11:44 UTC, Mike Parker wrote:
On Wednesday, 27 November 2019 at 02:48:53 UTC, cartland wrote:
Trying out exception handling. When an exception occurs,
program seems to just exit.
dub -a x86_mscoff
I compiled it with dmd and ran it directly from the
On Wednesday, 27 November 2019 at 02:48:53 UTC, cartland wrote:
Trying out exception handling. When an exception occurs,
program seems to just exit.
dub -a x86_mscoff
I compiled it with dmd and ran it directly from the command line
and it worked fine:
C:\dev\D\scratch>ex
finally
catch
Trying out exception handling. When an exception occurs, program
seems to just exit.
dub -a x86_mscoff
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for
x86, x86_mscoff.
x ~master: target for configuration "application" is up to date.
To force a rebuild of up-to-date targets,