Added support for "supportsInstructionBreakpoints" capability and now it this command is triggered when we set instruction breakpoint. We need this support as part of enabling disassembly view debugging. Following features should work as part of this feature enablement: 1. Settings breakpoints in disassembly view: Unsetting the breakpoint is not happening from the disassembly view. Currently we need to unset breakpoint manually from the breakpoint List. Multiple breakpoints are getting set for the same $ 2. Step over, step into, continue in the disassembly view The format for DisassembleRequest and DisassembleResponse at https://raw.githubusercontent.com/microsoft/vscode/master/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts . Ref Images: Set instruction breakpoint in disassembly view:  After issuing continue:  --------- Co-authored-by: Santhosh Kumar Ellendula <sellendu@hu-sellendu-hyd.qualcomm.com> Co-authored-by: Santhosh Kumar Ellendula <sellendu@hu-sellendu-lv.qualcomm.com>
48 lines
1.1 KiB
C++
48 lines
1.1 KiB
C++
//===-- DAPForward.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_DAPFORWARD_H
|
|
#define LLDB_TOOLS_LLDB_DAP_DAPFORWARD_H
|
|
|
|
namespace lldb_dap {
|
|
struct BreakpointBase;
|
|
struct ExceptionBreakpoint;
|
|
struct FunctionBreakpoint;
|
|
struct SourceBreakpoint;
|
|
struct Watchpoint;
|
|
struct InstructionBreakpoint;
|
|
} // namespace lldb_dap
|
|
|
|
namespace lldb {
|
|
class SBAttachInfo;
|
|
class SBBreakpoint;
|
|
class SBBreakpointLocation;
|
|
class SBCommandInterpreter;
|
|
class SBCommandReturnObject;
|
|
class SBCommunication;
|
|
class SBDebugger;
|
|
class SBEvent;
|
|
class SBFrame;
|
|
class SBHostOS;
|
|
class SBInstruction;
|
|
class SBInstructionList;
|
|
class SBLanguageRuntime;
|
|
class SBLaunchInfo;
|
|
class SBLineEntry;
|
|
class SBListener;
|
|
class SBProcess;
|
|
class SBStream;
|
|
class SBStringList;
|
|
class SBTarget;
|
|
class SBThread;
|
|
class SBValue;
|
|
class SBWatchpoint;
|
|
} // namespace lldb
|
|
|
|
#endif
|