I am trying to write my own inspection (and cheating by looking at InspectionGadgets).
While doing this I found a bug in ThreadPriorityInspection (it fails to recognize
NORM_PRIORITY when that field is used without qualifier, i.e. imported statically).
I tried to reproduce this behavior in my own inspection (which is pretty similar), but
I cannot debug my code, due to the the behavior described here:
Yet, I don't see that InspectionGadgets is using any of the runread/WriteAction or
It seems naturaly to me that inspections read PSI, and the inspections seem to run fine
when not debugged, so what's going on here?
I tried to switch off the toString() display in the debugger, but that does not help.