mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Additional newline appears when breakpoint is hit (PY-18292)
On python side we pass empty log message when suspend on breakpoint without logging. On Java side if message is empty string instead of null, we decide it's a logging message and print it to the console with new line character.
This commit is contained in:
@@ -160,7 +160,7 @@ public class ProtocolParser {
|
||||
final String name = readString(reader, "name", "");
|
||||
final int stopReason = readInt(reader, "stop_reason", 0);
|
||||
String message = readString(reader, "message", "None");
|
||||
if ("None".equals(message)) {
|
||||
if ("None".equals(message) || message.isEmpty()) {
|
||||
message = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user