File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1988,6 +1988,8 @@ void request_initialize(const llvm::json::Object &request) {
1988
1988
body.try_emplace (" supportsDataBreakpoints" , true );
1989
1989
// The debug adapter supports the `readMemory` request.
1990
1990
body.try_emplace (" supportsReadMemoryRequest" , true );
1991
+ // The debug adapter support for instruction breakpoint.
1992
+ body.try_emplace (" supportsInstructionBreakpoints" , true );
1991
1993
1992
1994
// Put in non-DAP specification lldb specific information.
1993
1995
llvm::json::Object lldb_json;
@@ -4843,6 +4845,7 @@ void RegisterRequestCallbacks() {
4843
4845
g_dap.RegisterRequestCallback (" locations" , request_locations);
4844
4846
g_dap.RegisterRequestCallback (" disassemble" , request_disassemble);
4845
4847
g_dap.RegisterRequestCallback (" readMemory" , request_readMemory);
4848
+ // Instruction breakpoint request
4846
4849
g_dap.RegisterRequestCallback (" setInstructionBreakpoints" ,
4847
4850
request_setInstructionBreakpoints);
4848
4851
// Custom requests
You can’t perform that action at this time.
0 commit comments