debugger: Fix breakpoint not showing after restart

fixes #7027