From 22416fd8952cf6db11b4b0b9fc837ec5dfb38b4b Mon Sep 17 00:00:00 2001 From: Igor Kulaychuk Date: Tue, 24 Apr 2018 20:49:12 +0300 Subject: [PATCH] Fix ids of fake exception breakpoints --- src/debug/netcoredbg/breakpoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/netcoredbg/breakpoints.cpp b/src/debug/netcoredbg/breakpoints.cpp index 46ba50f..fe0c2e0 100644 --- a/src/debug/netcoredbg/breakpoints.cpp +++ b/src/debug/netcoredbg/breakpoints.cpp @@ -148,7 +148,7 @@ void ManagedDebugger::InsertExceptionBreakpoint(const std::string &name, Breakpo void Breakpoints::InsertExceptionBreakpoint(const std::string &name, Breakpoint &breakpoint) { std::lock_guard lock(m_breakpointsMutex); - m_nextBreakpointId++; + breakpoint.id = m_nextBreakpointId++; } void Breakpoints::DeleteAllBreakpoints() -- 2.7.4