JS: fix inability to re-attach to the same debugger

This commit is contained in:
Alexey Andreev 2019-02-13 19:00:37 +03:00
parent ce13c05342
commit acc48f4532

View File

@ -334,6 +334,7 @@ public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeC
RDPNativeBreakpoint nativeBreakpoint = breakpoint.nativeBreakpoint;
breakpoint.nativeBreakpoint = null;
nativeBreakpoint.breakpoints.remove(breakpoint);
breakpoints.remove(breakpoint);
return releaseNativeBreakpoint(nativeBreakpoint, breakpoint);
}