PY-60107 - remove temporary breakpoints from internal map

Picked from https://github.com/JetBrains/intellij-community/pull/2396

GitOrigin-RevId: 238201ba933486b49b5a80dd90600c1217700dd4
This commit is contained in:
Daniel Schmidt
2023-06-05 18:47:34 +02:00
committed by intellij-monorepo-bot
parent a6e3db2e48
commit 28875fa3fe

View File

@@ -490,7 +490,7 @@ public class RemoteDebugger implements ProcessDebugger {
@Override
public void removeTempBreakpoint(@NotNull String file, int line) {
String type = myTempBreakpoints.get(Pair.create(file, line));
String type = myTempBreakpoints.remove(Pair.create(file, line));
if (type != null) {
final RemoveBreakpointCommand command = new RemoveBreakpointCommand(this, type, file, line);
execute(command); // remove temp. breakpoint