don't evaluate arrays on EDT when debugging remotely
Merge remote-tracking branch 'origin/139' into 139
remove code duplicate (use isUnderRemoteDebug directly)