lldb: Breakpoint on exceptions (equivalent of gdb's catch throw)

前端 未结 3 1469
别那么骄傲
别那么骄傲 2021-01-31 14:04

I am trying to use lldb for c++ debugging and I want to halt if an exception is thrown, like gdb\'s catch throw, and I cannot find an equivalent in the lldb documen

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-31 14:53

    I think breakpoint set -w is the correct answer, you can use help breakpoint set to see the document.

提交回复
热议问题