Software⏱️ 2 min read📅 2026-05-31

How to Fix: Is there "Break on Exception" in IntelliJ?

IntelliJ debugging feature to break on exception.

Quick Answer: Use the 'Break on Exception' feature in IntelliJ's debugger settings.

In IntelliJ, there is no built-in feature that will automatically break debugging on the first exception occurrence. However, you can use the 'Run' configuration to achieve similar functionality.

🔍 Why This Happens

  • The 'Break on Exception' feature is typically used in other IDEs like Eclipse or NetBeans.

🛠️ Step-by-Step Verified Fixes

Method 1: Configuring Run Configuration

  1. Step 1: Open the 'Run' configuration for your project.

Method 2: Using a Debugger

  1. Step 1: Set a breakpoint in your code before the point where you want to break debugging.

🎯 Final Words

While IntelliJ does not have a built-in 'Break on Exception' feature, you can achieve similar functionality by configuring your run configuration or using a debugger.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions