标签: c++ debugging exception gcc breakpoints
如何在抛出异常时使程序中断{(1)}(如断点),并在重新抛出和相关catch块的开头时再次中断?
答案 0 :(得分:7)
尝试catch throw and catch catch。
catch throw
catch catch
答案 1 :(得分:3)
Set a catchpoint.