如果Android Studio中发生未处理的异常,是否有办法设置断点?
如果Android Studio中发生未处理的异常,是否有办法设置断点? 我希望调试器停止在导致异常的行处。我认为这是非常明显的,但我无法找到如何。 谢谢。
Is there someway to set a breakpoint if an unhandled exception occurs in Android Studio?
I want the debugger to stop at the line that causes the exception. I think this is very obvious but I am not able to find how.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以查看 Run 或 Logcat,其中会显示有关错误类型和发生错误的行号的信息
You can look into Run or Logcat and there will be information on the type of error and the line number where the error occured