Switch debugger reader's sleeping policy to BLOCKING (PY-15122)

Because of changes in BaseOutputReader we can't call readAvailableBlocking if sleeping policy is not BLOCKING.
This commit is contained in:
Elizaveta Shashkova
2015-02-22 14:30:44 +03:00
parent 4e10661379
commit 5bcf4c7f67
@@ -488,7 +488,7 @@ public class RemoteDebugger implements ProcessDebugger {
private StringBuilder myTextBuilder = new StringBuilder();
private DebuggerReader(final InputStream stream) throws IOException {
super(stream, CharsetToolkit.UTF8_CHARSET); //TODO: correct encoding?
super(stream, CharsetToolkit.UTF8_CHARSET, SleepingPolicy.BLOCKING); //TODO: correct encoding?
start();
}