...,除了Line Breakpoint 以外,也支持监视点(Watchpoint)、方法岔断点(Method Breakpoint) 以及异常岔断点(Exception Breakpoint)。 设定监视点,表示当程序准备去存取或修改某字段时,就会暂停 执行。
基于76个网页-相关网页
提示:添加/删除断点的键盘快捷键是command+\ 另外一个重要的断点技巧是添加一个异常断点(exception breakpoint)。当遇到异常时, Xcode基本上都会自动转到main方法的autorelease pool中。
基于10个网页-相关网页
Breakpoint exception 断点异常
First you'll have to set up the exception breakpoint.
首先你要设置断点的例外。
So how exactly is IDEA's exception breakpoint supposed to be used?
那么到底是怎样的想法异常断点应该使用?
When the debugger breaks on an exception, you can inspect the application state and control execution, just as when a breakpoint is hit.
当调试器中断一个异常时,你可以检测应用程序的状态并进行控制执行,就像断点被击中那样。
应用推荐