1 //===-- FunctionBreakpoint.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 //===----------------------------------------------------------------------===// 8 9 #ifndef LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H 10 #define LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H 11 12 #include "Breakpoint.h" 13 #include "DAPForward.h" 14 15 namespace lldb_dap { 16 17 struct FunctionBreakpoint : public Breakpoint { 18 std::string functionName; 19 20 FunctionBreakpoint(DAP &dap, const llvm::json::Object &obj); 21 22 // Set this breakpoint in LLDB as a new breakpoint 23 void SetBreakpoint(); 24 }; 25 26 } // namespace lldb_dap 27 28 #endif 29