未処理の例外から説明文字列を表示する方法はありますか? Visual Studio 2012 Express を使用していますが、それを見る方法が見つからないようです。
次のコードを実行すると:
#include <stdexcept>
int main(int argc, char* argv[])
{
throw std::runtime_error("warp core breach");
return 0;
}
出力ウィンドウに表示されるのはこれだけです:
First-chance exception at 0x7652C41F in vstest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0015F6A4.
Unhandled exception at at 0x7652C41F in vstest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x0015F6A4.
そこに「ワープコアブリーチ」のメッセージが印刷されていると思っていたでしょう。Debugging->Output Window->General Output Settings のすべてのオプションを On に設定しています。