1 //===-- ExceptionBreakpoint.h -----------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
10 #define LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
14 #include "lldb/API/SBBreakpoint.h"
18 struct ExceptionBreakpoint
{
21 lldb::LanguageType language
;
23 lldb::SBBreakpoint bp
;
24 ExceptionBreakpoint(std::string f
, std::string l
, lldb::LanguageType lang
)
25 : filter(std::move(f
)), label(std::move(l
)), language(lang
),
26 default_value(false), bp() {}
29 void ClearBreakpoint();
32 } // namespace lldb_dap