gpt4 book ai didi

c++ - 为什么在核心转储中得到 "first/second chance not available"

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:30:23 29 4
gpt4 key购买 nike

我使用 windbg 调试故障转储,在 windbg 的以下输出中,您可以看到“first/second chance not available”,为什么 first/second chance 不可用?这是什么意思?

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(e38.2270): Access violation - code c0000005 (first/second chance not available)

最佳答案

first/second chance 是指可以抛出的异常和可以利用的调试器的处理机制。当使用调试器调试应用程序时,调试器可以在应用程序执行之前看到异常,因此第一次有机会处理它们。

A first chance exception 是由调试器第一次机会处理异常的机制处理的。

这里没有可用的事实很可能意味着在发生此错误的地方没有抛出异常,或者调试器中没有可用的第一次机会处理机制来处理抛出的任何异常。

我敢打赌这个错误不会因此而抛出异常,它只是一个段错误。

关于c++ - 为什么在核心转储中得到 "first/second chance not available",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14978914/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com