mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix error message when Jump to Cursor from the last line (PY-26130)
If the jump starts from the last line, the command doesn't receive a response, so it's better to suppress an error message.
This commit is contained in:
@@ -407,7 +407,14 @@ public class RemoteDebugger implements ProcessDebugger {
|
||||
@Nullable String functionName,
|
||||
@NotNull PyDebugCallback<Pair<Boolean, String>> callback) {
|
||||
final SetNextStatementCommand command = new SetNextStatementCommand(this, threadId, sourcePosition, functionName, callback);
|
||||
execute(command);
|
||||
try {
|
||||
command.execute();
|
||||
}
|
||||
catch (PyDebuggerException e) {
|
||||
if (isConnected()) {
|
||||
LOG.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user