Skip to content

Debugging Idle Time Issues ​

If you see an error signaled during idle time, it could be an indication of a more serious issue elsewhere. It is not enough to enable debug-on-error, because the idle scheduler inhibits the debugger. Instead, use the following commands to debug the error:

Command: semantic-debug-idle-function ​

Run the Semantic idle function with debugging turned on.

Command: semantic-debug-idle-work-function ​

Run the Semantic idle work function with debugging turned on.