qt_thread_check
Detect Qt threading issues by checking QObject thread affinity, flagging QWidget subclasses on non-GUI threads, and listing QThread instances to prevent GUI freezes.
Instructions
Check thread affinity of all QObjects to detect threading issues.
Reports which threads own QObjects, flags QWidget subclasses on non-GUI threads (the #1 cause of GUI freezes), and lists QThread instances.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qt_thread_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |