Re: Debug/reduce stack overflow in DMD on Windows

2013-12-30 Thread Jacob Carlborg
On 2013-12-30 23:21, Vladimir Panteleev wrote: You could try reducing the bug using DustMite, and this helper: Thanks, DustMite was able to find a reduced test case. It was this little piece of code: enum : DWORD { DWORD = REG_DWORD } -- /Jacob Carlborg

Re: Debug/reduce stack overflow in DMD on Windows

2013-12-30 Thread Vladimir Panteleev
On Monday, 30 December 2013 at 13:04:38 UTC, Jacob Carlborg wrote: I've ported one of my projects[1] from D1 to D2 and it works perfectly fine on Posix. Now when I try to compile the code on Windows I get a stack overflow. I really suck at Windows development, I don't even know where to start.

Re: Debug/reduce stack overflow in DMD on Windows

2013-12-30 Thread Jacob Carlborg
On 2013-12-30 17:19, Benjamin Thaut wrote: Compile in 64-bit and use Visual Studio or Visual Studio Express to debug the application. If you want to compile in 32-bit you will need to run cv2pdb on the generated exectuable before debugging with visual studio. cv2pdb is part of VisualD which I re

Re: Debug/reduce stack overflow in DMD on Windows

2013-12-30 Thread Benjamin Thaut
Am 30.12.2013 14:04, schrieb Jacob Carlborg: I've ported one of my projects[1] from D1 to D2 and it works perfectly fine on Posix. Now when I try to compile the code on Windows I get a stack overflow. I really suck at Windows development, I don't even know where to start. Which debugger should I