[英]Unhandled Expcetion C++ - VS2012
If a std::exception
is thrown from my code, Test Explorer will just show "Message: Unhandled C++ Exception". 如果从我的代码中抛出
std::exception
,Test Explorer将只显示“Message:Unhandled C ++ Exception”。 It does show the proper stack trace though. 它确实显示了正确的堆栈跟踪。
Is it possible to have Test Explorer show the message from the what()
method of std::exception
? 是否可以让测试资源管理器显示来自
std::exception
的what()
方法的消息?
what method will only tell you the name of the exception. 什么方法只会告诉你异常的名称。 may be there is some method like stack trace similar to java.
可能有一些类似于java的堆栈跟踪方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.