It's always something

2012-09-22 Thread Walter Bright
I just spent about 3 hours tracking down the strangest problem. Win64 exception handling would work fine, but when I'd turn on -g, it would crash. At first I thought "I'm generating a bad object file with -g." But since dmd isn't emitting any Win64 symbolic debug info, a check shows the object

Re: It's always something

2012-09-22 Thread Michel Fortin
On 2012-09-22 09:19:33 +, Walter Bright said: I just spent about 3 hours tracking down the strangest problem. Win64 exception handling would work fine, but when I'd turn on -g, it would crash. At first I thought "I'm generating a bad object file with -g." But since dmd isn't emitting an

Re: It's always something

2012-09-22 Thread Sandeep Datta
You should keep a record of those anomalies somewhere, it might prove useful as a starting point to investigating problems future problems that might arise. You are right. I think it is a good thing Walter took the time out to write about this. In the absence of better documentation this po

Re: It's always something

2012-09-22 Thread Walter Bright
On 9/22/2012 6:37 AM, Michel Fortin wrote: But there should be a reason why there's a jump there. Have you found it? If you're just bypassing the jump you might be breaking something else. For instance, this jump table might have been a mean to allow the debugger to more easily break on exception