Agent Skills
› DetachHead/rebased
› debugging
debugging
GitHub提供IntelliJ IDE故障排查指南,涵盖日志搜索技巧、冻结调查及异常分析。指导通过追踪执行链路和验证入口点行为来定位并修复用户端问题。
Trigger Scenarios
IntelliJ IDE出现崩溃或无响应
需要分析IDE日志以定位代码错误
用户报告功能未按预期工作需排查
Install
npx skills add DetachHead/rebased --skill debugging -g -y
SKILL.md
Frontmatter
{
"name": "debugging",
"description": "Debug IntelliJ IDE failures with repository-specific techniques."
}
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
Version History
- 2af32ff Current 2026-09-22 01:02
- 1f8708d 2026-08-16 15:38


