[debugger] Fix ClassCastException

GitOrigin-RevId: 08e3708eb2a3add4e5d0c33e503c593878de60d7
This commit is contained in:
Maksim Zuev
2024-10-14 18:54:46 +00:00
committed by intellij-monorepo-bot
parent b7425334e4
commit 5ed01c59cf
@@ -895,7 +895,7 @@ public class DebugProcessEvents extends DebugProcessImpl {
if (event == null) return;
// IDE user is not intended to see notifications about our synthetic breakpoints.
final LocatableEventRequestor requestor = (LocatableEventRequestor)RequestManagerImpl.findRequestor(event.request());
final Requestor requestor = RequestManagerImpl.findRequestor(event.request());
if (requestor instanceof SyntheticBreakpoint) return;
DebuggerStatistics.logBreakpointSkipped(getProject(), reason);