How can I make Eclipse to break on ALL uncaught exceptions?

前端 未结 3 1181
失恋的感觉
失恋的感觉 2021-02-19 00:25

I am writing a Java program using Eclipse Juno.

When I run the program, and it meets an exception, program just dies with back trace. I set these exception breakpoint to

3条回答
  •  野的像风
    2021-02-19 01:02

    1. Window->Show View->Other
      1
    2. Search for breakpoints which appears Debug->Breakpoints
      2
    3. Now add Throwable Exception by pressing J! icon
      3
    4. Add Exception
      4

提交回复
热议问题