Which debugger can explain InvalidMemoryOperationError?

Alex sascha.orlov at gmail.com
Thu Jan 17 20:41:27 UTC 2019


On Thursday, 17 January 2019 at 16:37:55 UTC, Victor Porton wrote:
> After main() of my program finishes, I have this error message:
>
> core.exception.InvalidMemoryOperationError at core/exception.d(700): Invalid memory operation
>
> Which debugger (preferably with a GUI interface) do you suggest 
> to investigate this error?
>
> I tried DDD and KDbg.
>
> In DDD when I set `catch throw InvalidMemoryOperationError` or 
> `catch throw core.exception.InvalidMemoryOperationError`, the 
> exception is not called nevertheless.
>
> In KDbg, I don't see any way to set an exception breakpoint, at 
> all.
>
> I use LDC2.

Which operating system do you use? And which compiler version?
Is this maybe another occurrence of
https://github.com/ldc-developers/ldc/issues/2820
?

If so, do you have a usable minimal example of your code to post 
and try it out?


More information about the Digitalmars-d-debugger mailing list