31.05.2013 8:59, Adam D. Ruppe пишет:
three questions come to mind:

1) what operating system and 32 bit or 64 bit?
2) what D compiler?
3) are you sure you didn't catch the exception somewhere up the chain
and silence the message that way?
1) win7 64
2) dmd 32
3) I don't catch explicitly. To ensure it isn't catch some way implicitly I just throw Exception without condition and it is thrown as expected
auto getObjectType() const {
throw new Exception("Here the exception should be thrown!"); // works as expected
        KeyHeaderHelper value_header;
        value_header.ptr_ = cast(ubyte*) data_.ptr;
return value_header.object_type; // if data isn't null it hangs up here
    }

moreover, when I provide data_ always have some length, the application starts hangin at return operator. I've met something like this behaviour (I mean silent hanging up) earlier working with std.concurrency, but I found some workaround. Now I dont know what to do.

Reply via email to