name: debugging description: Debugging techniques and tools for IntelliJ development. Use when debugging IDE issues or investigating failures.
Debugging
Documentation
- Logger FAQ - Frequently asked questions about logging
- How to Investigate Freezes - Diagnosing IDE freezes
- Exception Analyzing FAQ - Analyzing and categorizing exceptions
Searching idea.log
When debugging IntelliJ code, search idea.log using these patterns:
Log Levels:
-
FINE= debug level (fromLOG.debug { }) -
INFO= info level (fromLOG.info())
Category Format:
#<abbreviated.package.path>.<ClassName>
Example: com.intellij.openapi.wm.impl.status.IdeStatusBarImpl → #c.i.o.w.i.s.IdeStatusBarImpl
Search Examples:
# Debug logs from IdeStatusBarImpl
grep "FINE - #c.i.o.w.i.s.IdeStatusBarImpl" idea.log
# Info logs from IdeStatusBarImpl
grep "INFO - #c.i.o.w.i.s.IdeStatusBarImpl" idea.log
# All logs from a class
grep "#c.i.o.w.i.s.IdeStatusBarImpl" idea.log
End-to-End Behavior
When fixing issues where a user-facing entry point (script, command, API) doesn't behave as expected:
- Trace the full execution chain from entry point to actual executor before making changes
- Identify all layers that handle the relevant behavior - each layer may swallow, transform, or ignore it
- Verify the fix at the entry point the user actually invokes, not just at the layer you modified
- Add debugging output if still unsure - add to all layers to trace the issue
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
19.8k
GitHub Forks
5.7k
Created
Mar 2026
Last Updated
il y a 3 mois
tools
tools debugging
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!