Files
clang-p2996/lldb/tools/lldb-dap/ExceptionBreakpoint.h
Jonas Devlieghere 01263c6c6f [lldb] Rename lldb-vscode to lldb-dap (#69264)
Rename lldb-vscode to lldb-dap. This change is largely mechanical. The
following substitutions cover the majority of the changes in this
commit:

  s/VSCODE/DAP/
  s/VSCode/DAP/
  s/vscode/dap/
  s/g_vsc/g_dap/

Discourse RFC:
https://discourse.llvm.org/t/rfc-rename-lldb-vscode-to-lldb-dap/74075/
2023-10-19 09:48:54 -07:00

35 lines
967 B
C++

//===-- ExceptionBreakpoint.h -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
#define LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
#include <string>
#include "lldb/API/SBBreakpoint.h"
namespace lldb_dap {
struct ExceptionBreakpoint {
std::string filter;
std::string label;
lldb::LanguageType language;
bool default_value;
lldb::SBBreakpoint bp;
ExceptionBreakpoint(std::string f, std::string l, lldb::LanguageType lang)
: filter(std::move(f)), label(std::move(l)), language(lang),
default_value(false), bp() {}
void SetBreakpoint();
void ClearBreakpoint();
};
} // namespace lldb_dap
#endif