Bump version to 19.1.0 (final)
[llvm-project.git] / lldb / tools / lldb-dap / ExceptionBreakpoint.h
blob7b81d845cb26bef17d1f28839d68d790664b8273
1 //===-- ExceptionBreakpoint.h -----------------------------------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
10 #define LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
12 #include <string>
14 #include "lldb/API/SBBreakpoint.h"
16 namespace lldb_dap {
18 struct ExceptionBreakpoint {
19 std::string filter;
20 std::string label;
21 lldb::LanguageType language;
22 bool default_value;
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() {}
28 void SetBreakpoint();
29 void ClearBreakpoint();
32 } // namespace lldb_dap
34 #endif